Ask Your Question
1

what is CV_FM_RANSAC_ONLY ?

asked 2012-07-08 17:29:59 -0600

Amin Abouee gravatar image

updated 2012-07-09 02:34:57 -0600

Kirill Kornyakov gravatar image

Hello everybody, I'm working with opencv 2.4.2 and I find that after opencv 2.4.1, findFundamentalMat function support 2 separate methods for RANSAC algorithm, CV_FM_RANSAC and CV_FM_RANSAC_ONLY with the same default parameters. I couldn't find any reference and details about the CV_FM_RANSAC_ONLY in opencv documentation 2.4.1 and 2.4.2. Anybody know what is the difference between implementation of CV_FM_RANSAC_ONLY and CV_FM_RANSAC ? In generally, which one is better?

edit retag flag offensive close merge delete

2 answers

Sort by ยป oldest newest most voted
2

answered 2012-10-17 17:34:40 -0600

Pitscho gravatar image

updated 2012-10-17 17:35:30 -0600

calib3d.hpp says

#define CV_FM_LMEDS_ONLY  CV_LMEDS
#define CV_FM_RANSAC_ONLY CV_RANSAC
#define CV_FM_LMEDS CV_LMEDS
#define CV_FM_RANSAC CV_RANSAC

so seems to be useless for now

edit flag offensive delete link more
1

answered 2012-07-09 03:33:24 -0600

BloodAxe gravatar image

updated 2012-10-18 01:52:05 -0600

Kirill Kornyakov gravatar image

I would expect that CV_FM_RANSAC_ONLY computes rough fundamental matrix and filter outliers, while the CV_FM_RANSAC performs fundamental matrix computation using RANSAC algorithm to find rough fundamental matrix and then perform robust fundamental matrix estimation using only inliers from previous stage. This gives you better result but needs more time.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2012-07-08 17:29:59 -0600

Seen: 1,951 times

Last updated: Oct 18 '12