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

itk::Statistics::GaussianDensityFunction< TMeasurementVector > Class Template Reference

GaussianDensityFunction class represents Gaussian Density Function. More...

#include <itkGaussianDensityFunction.h>

Inheritance diagram for itk::Statistics::GaussianDensityFunction< TMeasurementVector >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::GaussianDensityFunction< TMeasurementVector >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

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

Public Types

typedef GaussianDensityFunction Self
typedef DensityFunction< TMeasurementVector > Superclass
typedef SmartPointer< SelfPointer
typedef TMeasurementVector MeasurementVectorType
typedef Vector< double, itkGetStaticConstMacro(VectorDimension) MeanType )
typedef Matrix< double, itkGetStaticConstMacro(VectorDimension), itkGetStaticConstMacro(VectorDimension) CovarianceType )

Public Member Functions

 itkStaticConstMacro (VectorDimension, unsigned int, TMeasurementVector::Length)
MeanTypeGetMean () const
void SetCovariance (CovarianceType *cov)
CovarianceTypeGetCovariance () const
double Evaluate (const MeasurementVectorType &measurement) const
void SetMean (MeanType *mean)

Protected Member Functions

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

Detailed Description

template<class TMeasurementVector>
class itk::Statistics::GaussianDensityFunction< TMeasurementVector >

GaussianDensityFunction class represents Gaussian Density Function.

This class keeps parameter to define Gaussian Density Function and has method to return the probability density of an instance (pattern) . If the all element of the covariance matrix is zero the "usual" density calculations ignored. if the measurement vector to be evaluated is equal to the mean, then the Evaluate method will return maximum value of double and return 0 for others

Definition at line 46 of file itkGaussianDensityFunction.h.


Member Typedef Documentation

template<class TMeasurementVector>
typedef Matrix< double, itkGetStaticConstMacro(VectorDimension), itkGetStaticConstMacro(VectorDimension) itk::Statistics::GaussianDensityFunction< TMeasurementVector >::CovarianceType)
 

Type of the covariance matrix Definition at line 72 of file itkGaussianDensityFunction.h.

Referenced by itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetMean(), and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::~GaussianDensityFunction().

template<class TMeasurementVector>
typedef Vector< double, itkGetStaticConstMacro(VectorDimension) itk::Statistics::GaussianDensityFunction< TMeasurementVector >::MeanType)
 

Type of the mean vector Definition at line 68 of file itkGaussianDensityFunction.h.

Referenced by itk::Statistics::GaussianDensityFunction< TMeasurementVector >::~GaussianDensityFunction().

template<class TMeasurementVector>
typedef TMeasurementVector itk::Statistics::GaussianDensityFunction< TMeasurementVector >::MeasurementVectorType
 

Typedef alias for the measurement vectors Definition at line 61 of file itkGaussianDensityFunction.h.

Referenced by itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetMean().

template<class TMeasurementVector>
typedef SmartPointer<Self> itk::Statistics::GaussianDensityFunction< TMeasurementVector >::Pointer
 

Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >.

Definition at line 53 of file itkGaussianDensityFunction.h.

template<class TMeasurementVector>
typedef GaussianDensityFunction itk::Statistics::GaussianDensityFunction< TMeasurementVector >::Self
 

Standard class typedefs

Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >.

Definition at line 51 of file itkGaussianDensityFunction.h.

template<class TMeasurementVector>
typedef DensityFunction< TMeasurementVector > itk::Statistics::GaussianDensityFunction< TMeasurementVector >::Superclass
 

Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >.

Definition at line 52 of file itkGaussianDensityFunction.h.


Constructor & Destructor Documentation

template<class TMeasurementVector>
itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GaussianDensityFunction void   )  [protected]
 

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

Definition at line 102 of file itkGaussianDensityFunction.h.

References itk::Statistics::GaussianDensityFunction< TMeasurementVector >::CovarianceType, and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::MeanType.


Member Function Documentation

template<class TMeasurementVector>
double itk::Statistics::GaussianDensityFunction< TMeasurementVector >::Evaluate const MeasurementVectorType measurement  )  const
 

Gets the probability density of a measurement vector.

template<class TMeasurementVector>
virtual const char* itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetClassName  )  const [virtual]
 

Strandard macros

Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >.

template<class TMeasurementVector>
CovarianceType* itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetCovariance  )  const
 

Gets the covariance matrix

template<class TMeasurementVector>
MeanType* itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetMean void   )  const [inline]
 

Gets the mean Definition at line 86 of file itkGaussianDensityFunction.h.

References itk::Statistics::GaussianDensityFunction< TMeasurementVector >::CovarianceType, and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::MeasurementVectorType.

template<class TMeasurementVector>
itk::Statistics::GaussianDensityFunction< TMeasurementVector >::itkStaticConstMacro VectorDimension  ,
unsigned  int,
TMeasurementVector::Length 
 

Dimension of the each individual pixel vector.

template<class TMeasurementVector>
Pointer itk::Statistics::GaussianDensityFunction< TMeasurementVector >::New  )  [static]
 

Strandard macros

Reimplemented from itk::Object.

template<class TMeasurementVector>
void itk::Statistics::GaussianDensityFunction< TMeasurementVector >::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::DensityFunction< TMeasurementVector >.

template<class TMeasurementVector>
void itk::Statistics::GaussianDensityFunction< TMeasurementVector >::SetCovariance CovarianceType cov  ) 
 

Sets the covariance matrix. Also, this function calculates inverse covariance and pre factor of Gaussian Distribution to speed up GetProbability

template<class TMeasurementVector>
void itk::Statistics::GaussianDensityFunction< TMeasurementVector >::SetMean MeanType mean  )  [inline]
 

Sets the mean Definition at line 75 of file itkGaussianDensityFunction.h.


The documentation for this class was generated from the following file:
Generated at Sat Mar 31 03:13:15 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000