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 * GetNameOfClass () const
Pointer New ()

Public Types

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

Public Member Functions

virtual void SetMeasurementVectorSize (const MeasurementVectorSizeType)
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
void SetMean (const MeanVectorType &mean)
void SetMean (const Array< double > &mean)

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 44 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 52 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 69 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 66 of file itkMahalanobisDistanceMembershipFunction.h.

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

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

Typedef to represent the length of measurement vectors

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

Definition at line 63 of file itkMahalanobisDistanceMembershipFunction.h.

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

Typedef alias for the measurement vectors

Definition at line 60 of file itkMahalanobisDistanceMembershipFunction.h.

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

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

Definition at line 51 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 49 of file itkMahalanobisDistanceMembershipFunction.h.

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

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

Definition at line 50 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 113 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 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 const char* itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetNameOfClass  )  const [virtual]
 

Strandard macros

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

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 Array< double > &  mean  ) 
 

Method to set mean

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 >::SetMeasurementVectorSize const  MeasurementVectorSizeType  )  [virtual]
 

Set the length of each measurement vector.

Implements itk::Statistics::MembershipFunctionBase< TVector >.

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 Thu May 25 03:08:26 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000