mirror of
https://github.com/opencv/opencv.git
synced 2025-06-13 13:13:26 +08:00
Merge pull request #19854 from gasparitiago:fundamentalMat-fix
This commit is contained in:
commit
ace37df941
@ -866,7 +866,7 @@ cv::Mat cv::findFundamentalMat( InputArray _points1, InputArray _points2,
|
|||||||
if( (method & ~3) == FM_RANSAC && npoints >= 15 )
|
if( (method & ~3) == FM_RANSAC && npoints >= 15 )
|
||||||
result = createRANSACPointSetRegistrator(cb, 7, ransacReprojThreshold, confidence, maxIters)->run(m1, m2, F, _mask);
|
result = createRANSACPointSetRegistrator(cb, 7, ransacReprojThreshold, confidence, maxIters)->run(m1, m2, F, _mask);
|
||||||
else
|
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 )
|
if( result <= 0 )
|
||||||
|
Loading…
Reference in New Issue
Block a user