cv.KeyPointsFilter - MATLAB File Help | Go to online doc for cv.KeyPointsFilter |
Methods to filter a vector of keypoints
A keypoint is a data structure for salient point detectors.
The struct stores a keypoint, i.e. a point feature found by one of many available keypoint detectors, such as Harris corner detector, cv.FAST, cv.StarDetector, cv.SURF, cv.SIFT, cv.FeatureDetector etc.
The keypoint is characterized by the 2D position, scale (proportional to the diameter of the neighborhood that needs to be taken into account), orientation and some other parameters. The keypoint neighborhood is then analyzed by another algorithm that builds a descriptor (usually represented as a feature vector). The keypoints representing the same object in different images can then be matched using cv.DescriptorMatcher or another method.
The keypoint struct contains the following fields:
[x,y]
.Sealed | false |
Construct on load | false |
KeyPointsFilter | Methods to filter a vector of keypoints |
Static | convertFromPoints | Convert vector of points to vector of keypoints, where each keypoint is assigned the same size and the same orientation |
Static | convertToPoints | Convert vector of keypoints to vector of points |
Static | hash | Compute hash of a keypoint |
Static | overlap | Compute overlap for pair of keypoints |
Static | removeDuplicated | Remove duplicated keypoints |
Static | removeDuplicatedSorted | Remove duplicated keypoints and sort the remaining keypoints |
Static | retainBest | Retain the specified number of the best keypoints (according to the response) |
Static | runByImageBorder | Remove keypoints within borderPixels of an image edge |
Static | runByKeypointSize | Remove keypoints of sizes out of range |
Static | runByPixelsMask | Remove keypoints from some image by mask for pixels of this image |