Documentation

This is machine translation

Translated by Microsoft
Mouse over text to see original. Click the button below to return to the English verison of the 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?