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

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

DensityFunction class defines common interfaces for density functions. More...

#include <itkDensityFunction.h>

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

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

Collaboration graph
[legend]
List of all members.

Public Types

typedef DensityFunction Self
typedef MembershipFunctionBase<
TMeasurementVector > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef unsigned int MeasurementVectorSizeType

Public Member Functions

virtual const char * GetNameOfClass () const
virtual double Evaluate (const TMeasurementVector &measurement) const=0
virtual void SetMeasurementVectorSize (MeasurementVectorSizeType _arg)
virtual MeasurementVectorSizeType GetMeasurementVectorSize () const

Protected Member Functions

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

Detailed Description

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

DensityFunction class defines common interfaces for density functions.

The Evaluate method returns density value for the input measurement vector. The length of the measurement vector must be set using SetMeasurementVectorSize() before using the class.

Definition at line 36 of file itkDensityFunction.h.


Member Typedef Documentation

template<class TMeasurementVector>
typedef SmartPointer<const Self> itk::Statistics::DensityFunction< TMeasurementVector >::ConstPointer
 

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

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

Definition at line 44 of file itkDensityFunction.h.

template<class TMeasurementVector>
typedef unsigned int itk::Statistics::DensityFunction< TMeasurementVector >::MeasurementVectorSizeType
 

Length of each measurement vector

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

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

Definition at line 50 of file itkDensityFunction.h.

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

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

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

Definition at line 43 of file itkDensityFunction.h.

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

Standard class typedefs

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

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

Definition at line 41 of file itkDensityFunction.h.

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

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

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

Definition at line 42 of file itkDensityFunction.h.


Constructor & Destructor Documentation

template<class TMeasurementVector>
itk::Statistics::DensityFunction< TMeasurementVector >::DensityFunction void   )  [inline, protected]
 

Definition at line 66 of file itkDensityFunction.h.

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

Definition at line 67 of file itkDensityFunction.h.


Member Function Documentation

template<class TMeasurementVector>
virtual double itk::Statistics::DensityFunction< TMeasurementVector >::Evaluate const TMeasurementVector &  measurement  )  const [pure virtual]
 

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

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

template<class TMeasurementVector>
virtual MeasurementVectorSizeType itk::Statistics::DensityFunction< TMeasurementVector >::GetMeasurementVectorSize  )  const [virtual]
 

Set/Get macros for the measurement vector length. NOTE: Users must set this before using the pertinent density function. Often this may be set automatically. For instance when supplying mean or an input subsample, the density function will query the length of measurement vectors from the sample or mean

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

template<class TMeasurementVector>
virtual const char* itk::Statistics::DensityFunction< TMeasurementVector >::GetNameOfClass  )  const [virtual]
 

Strandard macros

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

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

template<class TMeasurementVector>
void itk::Statistics::DensityFunction< TMeasurementVector >::PrintSelf std::ostream &  os,
Indent  indent
const [inline, 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< TMeasurementVector >.

Reimplemented in itk::Statistics::GaussianDensityFunction< TMeasurementVector >.

Definition at line 69 of file itkDensityFunction.h.

template<class TMeasurementVector>
virtual void itk::Statistics::DensityFunction< TMeasurementVector >::SetMeasurementVectorSize MeasurementVectorSizeType  _arg  )  [virtual]
 

Set/Get macros for the measurement vector length. NOTE: Users must set this before using the pertinent density function. Often this may be set automatically. For instance when supplying mean or an input subsample, the density function will query the length of measurement vectors from the sample or mean

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


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:03:34 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000