MATLAB File Help: cv.DescriptorMatcher/knnMatch Index
cv.DescriptorMatcher/knnMatch

Finds the k best matches for each descriptor from a query set

matches = matcher.knnMatch(queryDescriptors, trainDescriptors, k)
matches = matcher.knnMatch(queryDescriptors, k)
[...] = matcher.knnMatch(..., 'OptionName', optionValue, ...)

Input

Output

Options

This extended variant of cv.DescriptorMatcher.match() method finds several best matches for each query descriptor. The matches are returned in the distance increasing order. See cv.DescriptorMatcher.match() for the details about query and train descriptors.

See also
Method Details
Access public
Sealed false
Static false