Main Page   Groups   Namespace List   Class Hierarchy   Alphabetical List   Compound List   File List   Namespace Members   Compound Members   File Members   Concepts

itk::Statistics::MahalanobisDistanceMembershipFunction< TVector > Class Template Reference

MahalanobisDistanceMembershipFunction class represents MahalanobisDistance Density Function. More...

#include <itkMahalanobisDistanceMembershipFunction.h>

Inheritance diagram for itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

virtual const char * GetClassName () const
Pointer New ()

Public Types

typedef MahalanobisDistanceMembershipFunction Self
typedef MembershipFunctionBase<
TVector > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TVector MeasurementVectorType
typedef vnl_vector< double > MeanVectorType
typedef vnl_matrix< double > CovarianceMatrixType

Public Member Functions

void SetMean (const MeanVectorType &mean)
const MeanVectorTypeGetMean () const
void SetCovariance (const CovarianceMatrixType &cov)
virtual const CovarianceMatrixTypeGetCovariance ()
void SetInverseCovariance (const CovarianceMatrixType &invcov)
virtual const CovarianceMatrixTypeGetInverseCovariance ()
virtual void SetNumberOfSamples (double _arg)
virtual double GetNumberOfSamples ()
double Evaluate (const MeasurementVectorType &measurement) const

Protected Member Functions

 MahalanobisDistanceMembershipFunction (void)
virtual ~MahalanobisDistanceMembershipFunction (void)
void PrintSelf (std::ostream &os, Indent indent) const

Detailed Description

template<class TVector>
class itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >

MahalanobisDistanceMembershipFunction class represents MahalanobisDistance Density Function.

This class keeps parameter to define MahalanobisDistance Density Function and has method to return the probability density of an instance. MeasurementVectorSize is the dimension of measurement space. double is type of measurement.

Definition at line 43 of file itkMahalanobisDistanceMembershipFunction.h.


Member Typedef Documentation

template<class TVector>
typedef SmartPointer<const Self> itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::ConstPointer
 

Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.

Definition at line 51 of file itkMahalanobisDistanceMembershipFunction.h.

template<class TVector>
typedef vnl_matrix<double> itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::CovarianceMatrixType
 

Type used for representing the covariance matrix Definition at line 65 of file itkMahalanobisDistanceMembershipFunction.h.

Referenced by itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::~MahalanobisDistanceMembershipFunction().

template<class TVector>
typedef vnl_vector<double> itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::MeanVectorType
 

Type used for representing the mean vector Definition at line 62 of file itkMahalanobisDistanceMembershipFunction.h.

Referenced by itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::~MahalanobisDistanceMembershipFunction().

template<class TVector>
typedef TVector itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::MeasurementVectorType
 

Typedef alias for the measurement vectors Definition at line 59 of file itkMahalanobisDistanceMembershipFunction.h.

template<class TVector>
typedef SmartPointer<Self> itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::Pointer
 

Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.

Definition at line 50 of file itkMahalanobisDistanceMembershipFunction.h.

template<class TVector>
typedef MahalanobisDistanceMembershipFunction itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::Self
 

Standard class typedefs

Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.

Definition at line 48 of file itkMahalanobisDistanceMembershipFunction.h.

template<class TVector>
typedef MembershipFunctionBase< TVector > itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::Superclass
 

Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.

Definition at line 49 of file itkMahalanobisDistanceMembershipFunction.h.


Constructor & Destructor Documentation

template<class TVector>
itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::MahalanobisDistanceMembershipFunction void   )  [protected]
 

template<class TVector>
virtual itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::~MahalanobisDistanceMembershipFunction void   )  [inline, protected, virtual]
 

Definition at line 104 of file itkMahalanobisDistanceMembershipFunction.h.

References itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::CovarianceMatrixType, and itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::MeanVectorType.


Member Function Documentation

template<class TVector>
double itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::Evaluate const MeasurementVectorType measurement  )  const
 

Method to get probability of an instance. The return value is the value of the density function, not probability.

template<class TVector>
virtual const char* itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetClassName  )  const [virtual]
 

Strandard macros

Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.

template<class TVector>
virtual const CovarianceMatrixType& itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetCovariance  )  [virtual]
 

Method to get covariance matrix

template<class TVector>
virtual const CovarianceMatrixType& itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetInverseCovariance  )  [virtual]
 

Method to get covariance matrix

template<class TVector>
const MeanVectorType& itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetMean  )  const
 

Method to get mean

template<class TVector>
virtual double itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetNumberOfSamples  )  [virtual]
 

Method to get the number of samples

template<class TVector>
Pointer itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::New  )  [static]
 

Strandard macros

Reimplemented from itk::Object.

template<class TVector>
void itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::PrintSelf std::ostream &  os,
Indent  indent
const [protected, virtual]
 

Methods invoked by Print() to print information about the object including superclasses. Typically not called by the user (use Print() instead) but used in the hierarchical print process to combine the output of several classes.

Reimplemented from itk::Statistics::MembershipFunctionBase< TVector >.

template<class TVector>
void itk::Statistics::MahalanobisDistanceMembershipFunction< 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

template<class TVector>
void itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::SetInverseCovariance const CovarianceMatrixType invcov  ) 
 

Method to set covariance matrix Also, this function calculates inverse covariance and pre factor of MahalanobisDistance Distribution to speed up GetProbability

template<class TVector>
void itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::SetMean const MeanVectorType mean  ) 
 

Method to set mean

template<class TVector>
virtual void itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::SetNumberOfSamples double  _arg  )  [virtual]
 

Method to set the number of samples


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:24:27 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000