#include <itkGaussianDensityFunction.h>
Inheritance diagram for itk::Statistics::GaussianDensityFunction< TMeasurementVector >:
[NOHEADER] | |
virtual const char * | GetNameOfClass () const |
Pointer | New () |
[NOHEADER] | |
void | SetMean (const MeanType *mean) |
const MeanType * | GetMean () const |
void | SetCovariance (const CovarianceType *cov) |
const CovarianceType * | GetCovariance () const |
double | Evaluate (const MeasurementVectorType &measurement) const |
GaussianDensityFunction (void) | |
virtual | ~GaussianDensityFunction (void) |
void | PrintSelf (std::ostream &os, Indent indent) const |
Public Types | |
typedef GaussianDensityFunction | Self |
typedef DensityFunction< TMeasurementVector > | Superclass |
typedef SmartPointer< Self > | Pointer |
typedef SmartPointer< const Self > | ConstPointer |
typedef TMeasurementVector | MeasurementVectorType |
typedef Superclass::MeasurementVectorSizeType | MeasurementVectorSizeType |
typedef Array< double > | MeanType |
typedef VariableSizeMatrix< double > | CovarianceType |
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
Recent API changes: The static const macro to get the length of a measurement vector, MeasurementVectorSize
has been removed to allow the length of a measurement vector to be specified at run time. It is now obtained at run time from the sample set as input. Please use the function GetMeasurementVectorSize() to get the length. The typedef for the Mean has changed from FixedArray to Array. The typedef for the covariance matrix has changed from Matrix to VariableSizeMatrix.
Definition at line 55 of file itkGaussianDensityFunction.h.
|
Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. Definition at line 63 of file itkGaussianDensityFunction.h. |
|
Type of the covariance matrix Definition at line 80 of file itkGaussianDensityFunction.h. Referenced by itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetMean(), and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::~GaussianDensityFunction(). |
|
Type of the mean vector Definition at line 77 of file itkGaussianDensityFunction.h. Referenced by itk::Statistics::GaussianDensityFunction< TMeasurementVector >::~GaussianDensityFunction(). |
|
Length of each measurement vector Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. Definition at line 74 of file itkGaussianDensityFunction.h. |
|
Typedef alias for the measurement vectors Definition at line 71 of file itkGaussianDensityFunction.h. Referenced by itk::Statistics::GaussianDensityFunction< TMeasurementVector >::GetMean(). |
|
Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. Definition at line 62 of file itkGaussianDensityFunction.h. |
|
Standard class typedefs Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. Definition at line 60 of file itkGaussianDensityFunction.h. |
|
Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. Definition at line 61 of file itkGaussianDensityFunction.h. |
|
Sets the mean |
|
Sets the mean Definition at line 120 of file itkGaussianDensityFunction.h. References itk::Statistics::GaussianDensityFunction< TMeasurementVector >::CovarianceType, and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::MeanType. |
|
Gets the probability density of a measurement vector. |
|
Gets the covariance matrix |
|
Gets the mean Definition at line 104 of file itkGaussianDensityFunction.h. References itk::Statistics::GaussianDensityFunction< TMeasurementVector >::CovarianceType, and itk::Statistics::GaussianDensityFunction< TMeasurementVector >::MeasurementVectorType. |
|
Strandard macros Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. |
|
Strandard macros Reimplemented from itk::Object. |
|
Sets the mean Reimplemented from itk::Statistics::DensityFunction< TMeasurementVector >. |
|
Sets the covariance matrix. Also, this function calculates inverse covariance and pre factor of Gaussian Distribution to speed up GetProbability |
|
Sets the mean Definition at line 83 of file itkGaussianDensityFunction.h. References itk::Array< double >::Size(). |