Main Content

eigenFeature

Object for storing eigenvalue-based features

Since R2021a

Description

The eigenFeature object stores an eigenvalue-based feature vector extracted from point cloud data.

Creation

Description

example

features = eigenFeature(featureVector,centroid) constructs an eigenFeature object from the feature vector featureVector and the centroid centroid. The featureVector argument sets the Feature property, and the centroid argument sets the Centroid property.

Properties

expand all

Feature vector, specified as a seven-element vector of the form [linearity planarity scattering,omnivariance anisotropy eigenentropy change in curvature].

Centroid, specified as a three-element vector in the form [x y z].

Examples

collapse all

Create a feature vector and set the centroid for the eigenFeature object.

featureVector = rand(1,7);
centroid = rand(1,3);

Create an eigenFeature object.

eFeature = eigenFeature(featureVector,centroid)
eFeature = 
  eigenFeature with properties:

     Feature: [0.8147 0.9058 0.1270 0.9134 0.6324 0.0975 0.2785]
    Centroid: [0.5469 0.9575 0.9649]

Version History

Introduced in R2021a