This is machine translation

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

Note: This page has been translated by MathWorks. Please click here
To view all translated materals including this page, select Japan from the country navigator on the bottom of this page.


Class: cornerPoints

Return points with strongest metrics


cornerPoints = cornerPoints.selectStrongest(N)


cornerPoints = cornerPoints.selectStrongest(N) returns N number of points with strongest metrics.


expand all

Create object holding 50 points.

points = cornerPoints(ones(50,2), 'Metric', 1:50);

Keep 2 strongest features.

points = points.selectStrongest(2)
points = 
  2x1 cornerPoints array with properties:

    Location: [2x2 single]
      Metric: [2x1 single]
       Count: 2