cv.evaluateFeatureDetector - MATLAB File Help |
Evaluates a feature detector
[repeatability, correspCount] = cv.evaluateFeatureDetector(img1, img2, H1to2, keypoints1, keypoints2)
[...] = cv.evaluateFeatureDetector(..., 'OptionName',optionValue, ...)
img1
to img2
.img1
img2
{fdetector, 'key',val, ...}
, where the first element is the type, and
the remaining elements are optional parameters used to construct the
specified feature detector. See cv.FeatureDetector for possible types. Not
set by default (i.e: you must supply pre-detected keypoints in the inputs).detector = cv.FeatureDetector('SURF');
kp1 = detector.detect(img1)
kp2 = detector.detect(img2)
[rep,corresp] = cv.evaluateFeatureDetector(img1, img2, H1to2, kp1, kp2)