Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

The matchs returns the distance to the matched descriptor. So you can compare the nearest match with the next I mean:

We have 1 well-know feature from our object and we want to check a set of input features.

After compute the descriptors you call the knnmatch. now we can check how good is the nearest match. if the distance to the neares is less than the second match *factor we accept like the feature.

For example with surf features the autos at their paper I remember that use a 0.6 as factor. So follow this criterion if the distance of the nearest match is less or equal than the distance of 2-th nearest macht * 0.6 the feature is found.