55 template <
class DataPo
int,
class _NFilter,
typename T>
58 PONCA_FITTING_DECLARE_DEFAULT_TYPES
63 Check = Base::PROVIDES_MEAN_POSITION,
64 PROVIDES_POSITION_COVARIANCE
70 using Solver = Eigen::SelfAdjointEigenSolver<MatrixType>;
79 PONCA_FITTING_DECLARE_INIT_ADD_FINALIZE
139 template <
class DataPo
int,
class _NFilter,
int DiffType,
typename T>
142 PONCA_FITTING_DECLARE_DEFAULT_TYPES
143 PONCA_FITTING_DECLARE_MATRIX_TYPE
144 PONCA_FITTING_DECLARE_DEFAULT_DER_TYPES
149 Check = Base::PROVIDES_PRIMITIVE_DERIVATIVE && Base::PROVIDES_MEAN_POSITION_DERIVATIVE &&
150 Base::PROVIDES_POSITION_COVARIANCE,
151 PROVIDES_POSITION_COVARIANCE_DERIVATIVE
160 PONCA_FITTING_DECLARE_INIT_ADDDER_FINALIZE
163#include "covarianceFit.hpp"
Procedure that compute and decompose the covariance matrix of the neighbors positions in .
Eigen::SelfAdjointEigenSolver< MatrixType > Solver
Solver used to analyse the covariance matrix.
const Solver & solver() const
Reading access to the Solver used to analyse the covariance matrix.
Solver m_solver
Solver used to analyse the covariance matrix.
Scalar sphericity() const
Implements the sphericity .
Scalar surfaceVariation() const
Implements surface variation.
Scalar lambda_2() const
The maximum eigenvalue .
Scalar lambda_1() const
The second eigenvalue .
typename DataPoint::Scalar Scalar
Alias to scalar type.
typename DataPoint::MatrixType MatrixType
Alias to matrix type.
Scalar eigenentropy() const
Implements the eigenentropy .
Scalar linearity() const
Implements the linearity .
CovarianceFitBase< DataPoint, _NFilter, T > & covarianceFit()
Explicit conversion to CovarianceFitBase , to access methods potentially hidden by heritage.
Scalar lambda_0() const
The minimum eigenvalue .
Scalar planarity() const
Implements the planarity .
MatrixType m_cov
Covariance matrix.
Scalar anisotropy() const
Implements the anisotropy .
Internal generic class computing the derivatives of covariance matrix computed by CovarianceFitBase.
CovarianceFitDer< DataPoint, _NFilter, DiffType, T > & covarianceFitDer()
Explicit conversion to CovarianceFitDer , to access methods potentially hidden by heritage.
typename DataPoint::MatrixType MatrixType
Alias to matrix type.
MatrixType m_dCov[Base::NbDerivatives]
Computation data: derivatives of the covariance matrix.
This Source Code Form is subject to the terms of the Mozilla Public License, v.