Matching individual points in two different sets of coordinates

232 Views Asked by At

I have to match some 2d sets of points to an another 2d set of points (as ground truth) and find the outliers. In other word I have to match each single point to (maximum) one of the points in the ground truth set.

As an example consider that I want to match each star of Ursa Minor, to one of Ursa Major's stars, but in a situation that one of them may have 8 stars and the other one has 7 stars. How could I catch that unmatchable point (the 8th one)?

I found out that Ransac is a good method for matching points but (as I'm using the opencv's function) it needs the two input sets to have equal sizes! which mine don't.