radiusMatch (cv.DescriptorMatcher) - MATLAB File Help |
For each query descriptor, finds the training descriptors not farther than the specified distance
matches = matcher.radiusMatch(queryDescriptors, trainDescriptors, maxDistance)
matches = matcher.radiusMatch(queryDescriptors, maxDistance)
[...] = matcher.radiusMatch(..., 'OptionName', optionValue, ...)
size(queryDescriptors,1)
, each cell is a structure array
that has the following fields:
[size(queryDescriptors,1),size(trainDescriptors,1)]
.masks{i}
specifies
permissible matches between the input query descriptors and
stored train descriptors from the i-th image
trainDescCollection{i}
. Cell array of length
length(trainDescriptors)
, each a matrix of size
[size(queryDescriptors,1),size(trainDescriptors{i},1)]
.CompactResult
is false, the matches
vector
has the same size as queryDescriptors
rows. If
CompactResult
is true, the matches vector does not contain
matches for fully masked-out query descriptors. default falseFor each query descriptor, the methods find such training
descriptors that the distance between the query descriptor and
the training descriptor is equal or smaller than maxDistance
.
Found matches are returned in the distance increasing order.
Access | public |
Sealed | false |
Static | false |