mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Add maxIters parameter to LMeDS method in findFundamentalMat
This commit passes the parameter maxIters that represent the maximum number of iterations, that can be passed to findFundamentalMat to the method LMeDS. This parameter were added to the function findFundamentalMat and were passed just for the RANSAC method, but should be passed to both methods to be consistent.
This commit is contained in:
parent
2cf1a13755
commit
ac9182f20d
@ -866,7 +866,7 @@ cv::Mat cv::findFundamentalMat( InputArray _points1, InputArray _points2,
|
||||
if( (method & ~3) == FM_RANSAC && npoints >= 15 )
|
||||
result = createRANSACPointSetRegistrator(cb, 7, ransacReprojThreshold, confidence, maxIters)->run(m1, m2, F, _mask);
|
||||
else
|
||||
result = createLMeDSPointSetRegistrator(cb, 7, confidence)->run(m1, m2, F, _mask);
|
||||
result = createLMeDSPointSetRegistrator(cb, 7, confidence, maxIters)->run(m1, m2, F, _mask);
|
||||
}
|
||||
|
||||
if( result <= 0 )
|
||||
|
Loading…
Reference in New Issue
Block a user