Evaluate a descriptor extractor by computing precision/recall curve
recallPrecisionCurve = cv.computeRecallPrecisionCurve(matches1to2, correctMatches1to2Mask)
Input
- matches1to2 Cell array of matches, each match is a structure array
with the following fields:
- queryIdx query descriptor index (zero-based index)
- trainIdx train descriptor index (zero-based index)
- imgIdx train image index (zero-based index)
- distance distance between descriptors (scalar)
- correctMatches1to2Mask Cell array of the same size as
matches1to2
.
A mask indicating correct matches.
Output
- recallPrecisionCurve Recall/precision curve, Nx2 matrix.