descriptor_extractor_matcher sample uses different inlier thresholds for estimating homography and plotting correspondences (Feature #727)


Added by Volker Hilsenstein over 14 years ago. Updated almost 14 years ago.


Status:Done Start date:
Priority:Normal Due date:
Assignee:Maria Dimashova % Done:

0%

Category:samples
Target version:-
Difficulty: Pull request:

Description

If the line at

https://code.ros.org/trac/opencv/browser/trunk/opencv/samples/cpp/descriptor_extractor_matcher.cpp#L188

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.


Associated revisions

Revision d5a79f8b
Added by Maria Dimashova almost 14 years ago

Fixed #727

Revision d6196255
Added by Andrey Kamaev almost 12 years ago

Merge pull request #727 from asmorkalov:android_na_cmake

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

Also available in: Atom PDF