Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

opencv RANSAC random sequence

i use findhomography and findfundamental algorithm in my code.

but when i use this with ransac

findHomography(src_points, dst_points, Matches_Info.inliers_mask, CV_RANSAC, 3.0); findFundamentalMat(src_points, dst_points, Matches_Info.inliers_mask, CV_RANSAC, 3.0, 0.99);

like this

it always gets me same result.

but RANSAC algorithm use random sample to build model. so it have to has some different between other running.

i think this problem cause from random sequence of Opencv's RANSAC algorithm

but i can't find any information about this.

am i right? or if you have any information about this please comment me.

thank you.

opencv RANSAC random sequence

i use findhomography and findfundamental algorithm in my code.

but when i use this with ransac

findHomography(src_points, dst_points, Matches_Info.inliers_mask, CV_RANSAC, 3.0);
findFundamentalMat(src_points, dst_points, Matches_Info.inliers_mask, CV_RANSAC, 3.0, 0.99);

0.99);

like this

it always gets me same result.

but RANSAC algorithm use random sample to build model. so it have to has some different between other running.

i think this problem cause from random sequence of Opencv's RANSAC algorithm

but i can't find any information about this.

am i right? or if you have any information about this please comment me.

thank you.