18 #ifndef itkMahalanobisDistanceMetric_h
19 #define itkMahalanobisDistanceMetric_h
21 #include "vnl/vnl_vector.h"
22 #include "vnl/vnl_vector_ref.h"
23 #include "vnl/vnl_transpose.h"
24 #include "vnl/vnl_matrix.h"
25 #include "vnl/algo/vnl_matrix_inverse.h"
26 #include "vnl/algo/vnl_determinant.h"
46 template <
typename TVector>
113 itkSetMacro(Epsilon,
double);
114 itkGetConstMacro(Epsilon,
double);
117 itkSetMacro(DoubleMax,
double);
118 itkGetConstMacro(DoubleMax,
double);
124 PrintSelf(std::ostream & os,
Indent indent)
const override;
134 double m_Epsilon{ 1
e-100 };
135 double m_DoubleMax{ 1
e+20 };
138 CalculateInverseCovariance();
143 #ifndef ITK_MANUAL_INSTANTIATION
144 # include "itkMahalanobisDistanceMetric.hxx"