Ask Your Question

Finding fundamental matrix using RANSAC and 15 points

asked 2014-06-10 16:40:55 -0500

I want to find fundamental matrix using RANSAC having 10 points and find a bug(?) or discrepancy between documentation and source code. this code says that I must have 15 points to use RANSAC (otherwise it use LMEDS even if I chose RANSAC), but,%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.

edit retag flag offensive close merge delete

1 answer

Sort by ยป oldest newest most voted

answered 2014-06-13 18:35:49 -0500

updated 2014-06-13 18:50:13 -0500

I find an explanation. 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.

edit flag offensive delete link more

Question Tools

1 follower


Asked: 2014-06-10 16:40:55 -0500

Seen: 528 times

Last updated: Jun 13 '14