selectStrongest

Select points with strongest metrics

Description

example

strongestPoints = selectStrongest(points,N) returns N number of points that have the strongest metrics.

Examples

collapse all

Create a 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]

Input Arguments

collapse all

Points, specified as a points object. The object contains information about the feature points detected in the 2-D grayscale input image.

Number of strongest points to select, specified as an integer.

Introduced in R2017b