Using RANSAC mask output in cv::findfundamentalmat
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