descriptor_extractor_matcher sample uses different inlier thresholds for estimating homography and plotting correspondences (Feature #727)
Description
If the line at
is changed from
if( norm(points2[i1] - points1t.at<Point2f>(i1,0)) < 4 ) // inlier
to
if( norm(points2[i1] - points1t.at<Point2f>(i1,0)) < ransacReprojThreshold) // inlier
to use the same threshold for inlier/outlier discrimiation as for the homogrpahy estimation the plotted results are more meaningful.
History
Updated by Ilya Lysenkov almost 14 years ago
- Status deleted (
Open)
Updated by Maria Dimashova almost 14 years ago
Thanks. Fixed in r5258.
- Status set to Done
- (deleted custom field) set to fixed
Updated by Maria Dimashova almost 14 years ago
rather in r5259