Ask Your Question

Kuznetcov Alexey's profile - activity

2014-06-13 18:47:30 -0600 received badge  Editor (source)
2014-06-13 18:35:49 -0600 answered a question Finding fundamental matrix using RANSAC and 15 points

I find an explanation. http://code.opencv.org/issues/2394#note-3 Sadly documentation has not changed from those days. In my opinion this feature should be documented, because LMEDS marks exactly 7 points as inliers, and when you expect to use RANSAC it looks really strange when you pass 14 very good points and function return 7 outliers.

2014-06-10 21:13:51 -0600 received badge  Student (source)
2014-06-10 16:40:55 -0600 asked a question Finding fundamental matrix using RANSAC and 15 points

I want to find fundamental matrix using RANSAC having 10 points and find a bug(?) or discrepancy between documentation and source code. https://github.com/Itseez/opencv/blob/master/modules/calib3d/src/fundam.cpp#L710 this code says that I must have 15 points to use RANSAC (otherwise it use LMEDS even if I chose RANSAC), but http://docs.opencv.org/modules/calib3d/doc/camera_calibration_and_3d_reconstruction.html#Mat%20findFundamentalMat%28InputArray%20points1,%20InputArray%20points2,%20int%20method,%20double%20param1,%20double%20param2,%20OutputArray%20mask%29 says that RANSAC work with >= 8 points (seems obvious to me). Can someone explain to me "why 15"? I spent a lot of time to finding a mistake in my program.