18 #ifndef itkMahalanobisDistanceMembershipFunction_h 19 #define itkMahalanobisDistanceMembershipFunction_h 61 template<
typename TVector >
96 void SetMean(
const MeanVectorType & mean);
100 itkGetConstReferenceMacro(Mean, MeanVectorType);
109 itkGetConstReferenceMacro(Covariance, CovarianceMatrixType);
116 double Evaluate(
const MeasurementVectorType & measurement)
const ITK_OVERRIDE;
125 virtual ~MahalanobisDistanceMembershipFunction(
void) {}
142 #ifndef ITK_MANUAL_INSTANTIATION 143 #include "itkMahalanobisDistanceMembershipFunction.hxx"
SmartPointer< const Self > ConstPointer
double Evaluate(const MeasurementVectorType &measurement) const override
MahalanobisDistanceMembershipFunction models class membership using Mahalanobis distance.
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
MahalanobisDistanceMembershipFunction Self
CovarianceMatrixType m_InverseCovariance
MembershipFunctionBase< TVector > Superclass
MeasurementVectorRealType MeanVectorType
void SetMean(const MeanVectorType &mean)
MembershipFunctionBase defines common interfaces for membership functions.
void SetCovariance(const CovarianceMatrixType &cov)
Superclass::MeasurementVectorSizeType MeasurementVectorSizeType
void PrintSelf(std::ostream &os, Indent indent) const override
bool m_CovarianceNonsingular
TVector MeasurementVectorType
VariableSizeMatrix< double > CovarianceMatrixType
Control indentation during Print() invocation.
SmartPointer< Self > Pointer
Superclass::Pointer MembershipFunctionPointer
CovarianceMatrixType m_Covariance
itk::NumericTraits< MeasurementVectorType >::RealType MeasurementVectorRealType
virtual LightObject::Pointer InternalClone() const override
unsigned int MeasurementVectorSizeType