CGAL 4.12.2 - Classification
|
#include <CGAL/Classification/Feature/Eigen.h>
CGAL::Classification::Feature_base.
Feature based on the eigenvalues of the covariance matrix of a local neighborhood.
Omnivariance is defined, for the 3 eigenvalues \(\lambda_1 \ge \lambda_2 \ge \lambda_3 \ge 0\), as:
\[ (\lambda_1 \times \lambda_2 \times \lambda_3)^{\frac{1}{3}} \]
Its default name is "omnivariance".
Public Member Functions | |
template<typename InputRange > | |
Omnivariance (const InputRange &input, const Local_eigen_analysis &eigen) | |
Constructs the feature. More... | |
Public Member Functions inherited from CGAL::Classification::Feature_base | |
const std::string & | name () const |
Returns the name of the feature (initialized to abstract_feature for Feature_base ). | |
void | set_name (const std::string &name) |
Changes the name of the feature. | |
virtual float | value (std::size_t index)=0 |
Returns the value taken by the feature for at the item for the item at position index . More... | |
CGAL::Classification::Feature::Omnivariance::Omnivariance | ( | const InputRange & | input, |
const Local_eigen_analysis & | eigen | ||
) |
Constructs the feature.
input | point range. |
eigen | class with precomputed eigenvectors and eigenvalues. |