Convert vector of keypoints to vector of points
points2f = cv.KeyPointsFilter.convertToPoints(keypoints)
points2f = cv.KeyPointsFilter.convertToPoints(keypoints, 'OptionName',optionValue, ...)
Input
- keypoints Keypoints obtained from any feature detection
algorithm like SIFT/SURF/ORB.
Output
- points2f Array of (x,y) coordinates of each keypoint.
Options
- Indices Optional array of indexes of keypoints to be
converted to points. (Acts like a mask to convert only
specified keypoints). Not set by default.