ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkMahalanobisDistanceMetric.h>
MahalanobisDistanceMetric class computes a Mahalanobis distance given a mean and covariance.
Definition at line 46 of file itkMahalanobisDistanceMetric.h.
typedef SmartPointer< const Self > itk::Statistics::MahalanobisDistanceMetric< TVector >::ConstPointer |
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
Definition at line 54 of file itkMahalanobisDistanceMetric.h.
typedef vnl_matrix< double > itk::Statistics::MahalanobisDistanceMetric< TVector >::CovarianceMatrixType |
Type used for representing the covariance matrix
Definition at line 71 of file itkMahalanobisDistanceMetric.h.
typedef Superclass::OriginType itk::Statistics::MahalanobisDistanceMetric< TVector >::MeanVectorType |
Type used for representing the mean vector
Definition at line 68 of file itkMahalanobisDistanceMetric.h.
typedef Superclass::MeasurementVectorSizeType itk::Statistics::MahalanobisDistanceMetric< TVector >::MeasurementVectorSizeType |
Typedef to represent the length of measurement vectors
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
Definition at line 65 of file itkMahalanobisDistanceMetric.h.
typedef Superclass::MeasurementVectorType itk::Statistics::MahalanobisDistanceMetric< TVector >::MeasurementVectorType |
Typedef to represent the measurement vector type
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
Definition at line 58 of file itkMahalanobisDistanceMetric.h.
typedef SmartPointer< Self > itk::Statistics::MahalanobisDistanceMetric< TVector >::Pointer |
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
Definition at line 53 of file itkMahalanobisDistanceMetric.h.
typedef MahalanobisDistanceMetric itk::Statistics::MahalanobisDistanceMetric< TVector >::Self |
Standard class typedefs
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
Definition at line 51 of file itkMahalanobisDistanceMetric.h.
typedef DistanceMetric< TVector > itk::Statistics::MahalanobisDistanceMetric< TVector >::Superclass |
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
Definition at line 52 of file itkMahalanobisDistanceMetric.h.
itk::Statistics::MahalanobisDistanceMetric< TVector >::MahalanobisDistanceMetric | ( | void | ) | [protected] |
virtual itk::Statistics::MahalanobisDistanceMetric< TVector >::~MahalanobisDistanceMetric | ( | void | ) | [inline, protected, virtual] |
Definition at line 115 of file itkMahalanobisDistanceMetric.h.
void itk::Statistics::MahalanobisDistanceMetric< TVector >::CalculateInverseCovariance | ( | ) | [private] |
virtual::itk::LightObject::Pointer itk::Statistics::MahalanobisDistanceMetric< TVector >::CreateAnother | ( | void | ) | const [virtual] |
Strandard macros
Reimplemented from itk::Object.
double itk::Statistics::MahalanobisDistanceMetric< TVector >::Evaluate | ( | const MeasurementVectorType & | measurement | ) | const [virtual] |
Method to get probability of an instance. The return value is the value of the density function, not probability.
Implements itk::Statistics::DistanceMetric< TVector >.
double itk::Statistics::MahalanobisDistanceMetric< TVector >::Evaluate | ( | const MeasurementVectorType & | x1, |
const MeasurementVectorType & | x2 | ||
) | const [virtual] |
Gets the distance between x1 and x2.
Implements itk::Statistics::DistanceMetric< TVector >.
virtual const CovarianceMatrixType& itk::Statistics::MahalanobisDistanceMetric< TVector >::GetCovariance | ( | ) | [virtual] |
Method to get covariance matrix
virtual double itk::Statistics::MahalanobisDistanceMetric< TVector >::GetDoubleMax | ( | ) | const [virtual] |
virtual double itk::Statistics::MahalanobisDistanceMetric< TVector >::GetEpsilon | ( | ) | const [virtual] |
Set/Get tolerance values
virtual const CovarianceMatrixType& itk::Statistics::MahalanobisDistanceMetric< TVector >::GetInverseCovariance | ( | ) | [virtual] |
Method to get covariance matrix
const MeanVectorType& itk::Statistics::MahalanobisDistanceMetric< TVector >::GetMean | ( | ) | const |
Method to get mean
virtual const char* itk::Statistics::MahalanobisDistanceMetric< TVector >::GetNameOfClass | ( | ) | const [virtual] |
Strandard macros
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
static Pointer itk::Statistics::MahalanobisDistanceMetric< TVector >::New | ( | ) | [static] |
Strandard macros
Reimplemented from itk::Object.
void itk::Statistics::MahalanobisDistanceMetric< TVector >::PrintSelf | ( | std::ostream & | os, |
Indent | indent | ||
) | const [protected, virtual] |
Get method for the length of the measurement vector
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetCovariance | ( | const CovarianceMatrixType & | cov | ) |
Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability
virtual void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetDoubleMax | ( | double | _arg | ) | [virtual] |
virtual void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetEpsilon | ( | double | _arg | ) | [virtual] |
Set/Get tolerance values
void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetInverseCovariance | ( | const CovarianceMatrixType & | invcov | ) |
Method to set inverse covariance matrix
void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetMean | ( | const MeanVectorType & | mean | ) |
Method to set mean
virtual void itk::Statistics::MahalanobisDistanceMetric< TVector >::SetMeasurementVectorSize | ( | MeasurementVectorSizeType | ) | [virtual] |
Set the length of each measurement vector.
Reimplemented from itk::Statistics::DistanceMetric< TVector >.
CovarianceMatrixType itk::Statistics::MahalanobisDistanceMetric< TVector >::m_Covariance [private] |
Definition at line 120 of file itkMahalanobisDistanceMetric.h.
double itk::Statistics::MahalanobisDistanceMetric< TVector >::m_DoubleMax [private] |
Definition at line 127 of file itkMahalanobisDistanceMetric.h.
double itk::Statistics::MahalanobisDistanceMetric< TVector >::m_Epsilon [private] |
Definition at line 126 of file itkMahalanobisDistanceMetric.h.
CovarianceMatrixType itk::Statistics::MahalanobisDistanceMetric< TVector >::m_InverseCovariance [private] |
Definition at line 124 of file itkMahalanobisDistanceMetric.h.
MeanVectorType itk::Statistics::MahalanobisDistanceMetric< TVector >::m_Mean [private] |
Definition at line 119 of file itkMahalanobisDistanceMetric.h.