This is machine translation

Translated by Microsoft
Mouseover text to see original. Click the button below to return to the English version of the page.

Note: This page has been translated by MathWorks. Click here to see
To view all translated materials including this page, select Country from the country navigator on the bottom of this page.

selectStrongest

Select points with strongest metrics

Syntax

strongestPoints = selectStrongest(points,N)

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