49 template <
class DataPo
int,
class _WFunctor,
typename T>
52 PONCA_FITTING_DECLARE_DEFAULT_TYPES
57 Check = Base::PROVIDES_MEAN_POSITION,
58 PROVIDES_POSITION_COVARIANCE
64 using Solver = Eigen::SelfAdjointEigenSolver<MatrixType>;
73 PONCA_FITTING_DECLARE_INIT_ADD_FINALIZE
91 template <
class DataPo
int,
class _WFunctor,
int DiffType,
typename T>
94 PONCA_FITTING_DECLARE_DEFAULT_TYPES
95 PONCA_FITTING_DECLARE_MATRIX_TYPE
96 PONCA_FITTING_DECLARE_DEFAULT_DER_TYPES
101 Check = Base::PROVIDES_PRIMITIVE_DERIVATIVE &&
102 Base::PROVIDES_MEAN_POSITION_DERIVATIVE &&
103 Base::PROVIDES_POSITION_COVARIANCE,
104 PROVIDES_POSITION_COVARIANCE_DERIVATIVE
113 PONCA_FITTING_DECLARE_INIT_ADDDER_FINALIZE
116#include "covarianceFit.hpp"
Procedure that compute and decompose the covariance matrix of the neighbors positions in .
typename DataPoint::MatrixType MatrixType
Alias to matrix type.
Eigen::SelfAdjointEigenSolver< MatrixType > Solver
Solver used to analyse the covariance matrix.
MatrixType m_cov
Covariance matrix.
typename DataPoint::Scalar Scalar
Alias to scalar type.
Solver m_solver
Solver used to analyse the covariance matrix.
const Solver & solver() const
Reading access to the Solver used to analyse the covariance matrix.
CovarianceFitBase< DataPoint, _WFunctor, T > & covarianceFit()
Explicit conversion to CovarianceFitBase , to access methods potentially hidden by heritage.
Scalar surfaceVariation() const
Implements surface variation.
Internal generic class computing the derivatives of covariance matrix computed by CovarianceFitBase.
typename DataPoint::MatrixType MatrixType
Alias to matrix type.
MatrixType m_dCov[Base::NbDerivatives]
Computation data: derivatives of the covariance matrix.
CovarianceFitDer< DataPoint, _WFunctor, DiffType, T > & covarianceFitDer()
Explicit conversion to CovarianceFitDer , to access methods potentially hidden by heritage.
This Source Code Form is subject to the terms of the Mozilla Public License, v.