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

itk::Statistics::DistanceToCentroidMembershipFunction< TVector > Class Template Reference

DistanceToCentroidMembershipFunction class represents DistanceToCentroid Density Function. More...

#include <itkDistanceToCentroidMembershipFunction.h>

Inheritance diagram for itk::Statistics::DistanceToCentroidMembershipFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::DistanceToCentroidMembershipFunction< TVector >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

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

Public Types

typedef DistanceToCentroidMembershipFunction Self
typedef MembershipFunctionBase<
TVector > 
Superclass
typedef SmartPointer< SelfPointer
typedef TVector MeasurementVectorType

Public Methods

void SetCentroid (const vnl_vector< double > &centroid)
const vnl_vector< double > & GetCentroid () const
virtual void SetNumberOfSamples (int _arg)
virtual int GetNumberOfSamples ()
double Evaluate (const MeasurementVectorType &measurement) const

Protected Methods

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

Detailed Description

template<class TVector>
class itk::Statistics::DistanceToCentroidMembershipFunction< TVector >

DistanceToCentroidMembershipFunction class represents DistanceToCentroid Density Function.

This class keeps parameter to define DistanceToCentroid 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 itkDistanceToCentroidMembershipFunction.h.


Member Typedef Documentation

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

Typedef alias for the measurement vectors

Definition at line 59 of file itkDistanceToCentroidMembershipFunction.h.

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

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

Definition at line 51 of file itkDistanceToCentroidMembershipFunction.h.

template<class TVector>
typedef DistanceToCentroidMembershipFunction itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::Self
 

Standard class typedefs

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

Definition at line 49 of file itkDistanceToCentroidMembershipFunction.h.

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

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

Definition at line 50 of file itkDistanceToCentroidMembershipFunction.h.


Constructor & Destructor Documentation

template<class TVector>
itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::DistanceToCentroidMembershipFunction void    [protected]
 

template<class TVector>
virtual itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::~DistanceToCentroidMembershipFunction void    [inline, protected, virtual]
 

Definition at line 80 of file itkDistanceToCentroidMembershipFunction.h.

References HardConnectedComponentImageFilter::PrintSelf().


Member Function Documentation

template<class TVector>
double itk::Statistics::DistanceToCentroidMembershipFunction< 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>
const vnl_vector<double>& itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetCentroid   const
 

Method to get mean

template<class TVector>
virtual const char* itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetClassName   const [virtual]
 

Strandard macros

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

template<class TVector>
virtual int itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::GetNumberOfSamples   [virtual]
 

Method to get the number of samples

template<class TVector>
Pointer itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::New   [static]
 

Strandard macros

Reimplemented from itk::Object.

template<class TVector>
void itk::Statistics::DistanceToCentroidMembershipFunction< 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::DistanceToCentroidMembershipFunction< TVector >::SetCentroid const vnl_vector< double > &    centroid
 

Method to set mean

template<class TVector>
virtual void itk::Statistics::DistanceToCentroidMembershipFunction< TVector >::SetNumberOfSamples int    _arg [virtual]
 

Method to set the number of samples


The documentation for this class was generated from the following file:
Generated at Fri May 21 01:52:27 2004 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000