| cv.batchDistance - MATLAB File Help |
Naive nearest neighbor finder
[dst,nidx] = cv.batchDistance(src1, src2)
[...] = cv.batchDistance(..., 'OptionName', optionValue, ...)
single or uint8single or uint8K>0, otherwise an empty matrix is returned.K=0 (the default), the
full pairwaise distance matrix is computed (of size N1-by-N2), otherwise
only distances to the K-nearest neighbors is returned (matrix of size
N1-by-K).