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:

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 TVector MeasurementVectorType

Public Methods

void SetMean (const vnl_vector< double > &mean)
const vnl_vector< double > & GetMean () const
void SetCovariance (const vnl_matrix< double > &cov)
const vnl_matrix< double > & GetCovariance () const
void SetInverseCovariance (const vnl_matrix< double > &invcov)
const vnl_matrix< double > & GetInverseCovariance () const
virtual void SetNumberOfSamples (double _arg)
virtual double GetNumberOfSamples ()
double Evaluate (const MeasurementVectorType &measurement) const

Protected Methods

 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 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 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 98 of file itkMahalanobisDistanceMembershipFunction.h.

References HardConnectedComponentImageFilter::PrintSelf().


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>
const vnl_matrix<double>& itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetCovariance   const
 

Method to get covariance matrix

template<class TVector>
const vnl_matrix<double>& itk::Statistics::MahalanobisDistanceMembershipFunction< TVector >::GetInverseCovariance   const
 

Method to get covariance matrix

template<class TVector>
const vnl_vector<double>& 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 vnl_matrix< double > &    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 vnl_matrix< double > &    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 vnl_vector< double > &    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 Wed Mar 12 01:22:45 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000