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:
@@ -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;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user