How to remove false matches from FLANNBASED Matcher in OPENCV?

asked 2014-06-07 12:44:35 -0500

I am trying to compare one image with multiple images and get a list of ALL matching images. I do NOT want to draw keypoints between images.

My solution is based on the following source code:

The above source code matches one image with multiple images and get best matching image.

I have modified the above sample and generated:

vector<vector<dmatch>> matches; vector<vector<dmatch>> good_matches; Now my question is how do I apply nearest neighbor search ratio to get good matches for multiple images?

edit retag flag offensive close merge delete