Using RANSAC mask output in cv::findfundamentalmat

asked 2013-09-26 10:24:10 -0500

hari gravatar image

Hii Iam using cv::findfundamentalmat to find the fundamental matrix between two images Since i need to store the inliers in the data Iam planning to use the RANSAC inlier mask output from the function. Hence i need to iterate over the mask. How can i do that? I have been stuck due to this problem form one week , please help me

cv::Mat mask; cv::Mat fmat = cv::findFundamentalMat(cv::Mat(imgpts1),cv::Mat(imgpts2),CV_FM_7POINT,3.,.9,mask); This is the relevant line in my code

edit retag flag offensive close merge delete