Select points with strongest metrics
Select Strongest KAZE Features
KAZEPoints object holding 50 points.
points = KAZEPoints(ones(50,2),Metric=1:50);
Keep the two strongest features.
points = selectStrongest(points,2)
points = 2x1 KAZEPoints array with properties: Location: [2x2 single] Metric: [2x1 single] Count: 2 Scale: [2x1 single] Orientation: [2x1 single]
points — Points object
M-by-2 matrix | point feature object
Points object,specified as an M-by-2 matrix of M number of [x y] coordinates, or as one of the point feature objects described in Point Feature Types. The object contains information about the feature points detected in the input image. To obtain points, use the appropriate detect function that pairs with the point feature type.
N — Number of points
Number of strongest points to select, specified as an integer.
strongestPoints — Points object with strongest metrics
M-by-2 matrix | points object
Points object with strongest metrics, returned as an M-by-2 matrix or a points object.
Introduced in R2017b