1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-30 07:43:03 +04:00

Adding feature 1544 and 1557

-cv::findHomography added a parameter for RANSAC iterations
 -cv::findHomography added a parameter for RANSAC confidence
This commit is contained in:
Shubhra Pandit
2014-08-16 19:13:39 -04:00
parent dea40e5e99
commit 6ca893be23
4 changed files with 21 additions and 7 deletions
+2 -3
View File
@@ -274,10 +274,9 @@ public:
cv::Mat cv::findHomography( InputArray _points1, InputArray _points2,
int method, double ransacReprojThreshold, OutputArray _mask )
int method, double ransacReprojThreshold, OutputArray _mask,
const int maxIters, const double confidence)
{
const double confidence = 0.995;
const int maxIters = 2000;
const double defaultRANSACReprojThreshold = 3;
bool result = false;