Documentation

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.

selectStrongest

Class: cornerPoints

Return points with strongest metrics

Syntax

cornerPoints = cornerPoints.selectStrongest(N)

Description

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

Examples

expand all

Create object holding 50 points.

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

Keep 2 strongest features.

points = points.selectStrongest(2)
points = 

  2×1 cornerPoints array with properties:

    Location: [2×2 single]
      Metric: [2×1 single]
       Count: 2

Was this topic helpful?