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

itk::Statistics::MeanShiftModeSeekerBase< TSample > Class Template Reference

Evolves the mode. This is the base class for any mean shift mode seeking algorithm classes. More...

#include <itkMeanShiftModeSeekerBase.h>

Inheritance diagram for itk::Statistics::MeanShiftModeSeekerBase< TSample >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::MeanShiftModeSeekerBase< TSample >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

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

Public Types

typedef MeanShiftModeSeekerBase Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TSample::MeasurementVectorType MeasurementVectorType
typedef TSample::MeasurementType MeasurementType
typedef TSample::InstanceIdentifier InstanceIdentifier
typedef std::vector< InstanceIdentifierSearchResultVectorType
typedef MeanShiftModeCacheMethod<
MeasurementVectorType
CacheMethodType

Public Member Functions

 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize)
void SetInputSample (const TSample *sample)
const TSample * GetInputSample () const
void SetMaximumIteration (unsigned int number)
unsigned int GetMaximumIteration ()
void SetCacheMethod (CacheMethodType *method)
CacheMethodTypeGetCacheMethod ()
MeasurementVectorType Evolve (MeasurementVectorType instance)

Protected Member Functions

 MeanShiftModeSeekerBase ()
virtual ~MeanShiftModeSeekerBase ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual bool ComputeMode (MeasurementVectorType queryPoint, MeasurementVectorType &newPoint)=0

Detailed Description

template<class TSample>
class itk::Statistics::MeanShiftModeSeekerBase< TSample >

Evolves the mode. This is the base class for any mean shift mode seeking algorithm classes.

Any subclass of this class should implement the ComputeMode method. That is the only one requirement. To use this class, user should plug in the input sample using SetInputSample, then call Evolve function with a measurement vector (query point).

There are some operational options. Users can set a cache method to accelates the evolving process. If the cache method already has a pair of a query point and its new mode point, the ComputeMode uses the cached value insteady recalculating the mode. By setting the maximum iteration number (SetMaximumIteration method), when the evolving process exceedes, the process will stop and return the current mode point as the result. With this option turned off (by setting it to 0 or leave it alone after instantiating this class), the evolving process runs until it converges.

See also:
MeanShiftModeCacheMethod, SampleMeanShiftBlurringFilter, SampleSelectiveMeanShiftBlurringFilter, SampleMeanShiftClusteringFilter

Definition at line 54 of file itkMeanShiftModeSeekerBase.h.


Member Typedef Documentation

template<class TSample>
typedef MeanShiftModeCacheMethod< MeasurementVectorType > itk::Statistics::MeanShiftModeSeekerBase< TSample >::CacheMethodType
 

Definition at line 78 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef SmartPointer<const Self> itk::Statistics::MeanShiftModeSeekerBase< TSample >::ConstPointer
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 62 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef TSample::InstanceIdentifier itk::Statistics::MeanShiftModeSeekerBase< TSample >::InstanceIdentifier
 

Definition at line 75 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef TSample::MeasurementType itk::Statistics::MeanShiftModeSeekerBase< TSample >::MeasurementType
 

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 74 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef TSample::MeasurementVectorType itk::Statistics::MeanShiftModeSeekerBase< TSample >::MeasurementVectorType
 

Typedefs from the TSample template argument

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 73 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef SmartPointer<Self> itk::Statistics::MeanShiftModeSeekerBase< TSample >::Pointer
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 61 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef std::vector< InstanceIdentifier > itk::Statistics::MeanShiftModeSeekerBase< TSample >::SearchResultVectorType
 

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 77 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef MeanShiftModeSeekerBase itk::Statistics::MeanShiftModeSeekerBase< TSample >::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 59 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
typedef Object itk::Statistics::MeanShiftModeSeekerBase< TSample >::Superclass
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

Definition at line 60 of file itkMeanShiftModeSeekerBase.h.


Constructor & Destructor Documentation

template<class TSample>
itk::Statistics::MeanShiftModeSeekerBase< TSample >::MeanShiftModeSeekerBase  )  [protected]
 

template<class TSample>
virtual itk::Statistics::MeanShiftModeSeekerBase< TSample >::~MeanShiftModeSeekerBase  )  [protected, virtual]
 


Member Function Documentation

template<class TSample>
virtual bool itk::Statistics::MeanShiftModeSeekerBase< TSample >::ComputeMode MeasurementVectorType  queryPoint,
MeasurementVectorType newPoint
[protected, pure virtual]
 

Implemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

template<class TSample>
MeasurementVectorType itk::Statistics::MeanShiftModeSeekerBase< TSample >::Evolve MeasurementVectorType  instance  ) 
 

Returns the covariance matrix of the target sample data

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

template<class TSample>
CacheMethodType* itk::Statistics::MeanShiftModeSeekerBase< TSample >::GetCacheMethod  )  [inline]
 

Definition at line 93 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
virtual const char* itk::Statistics::MeanShiftModeSeekerBase< TSample >::GetClassName  )  const [virtual]
 

Standard Macros

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

template<class TSample>
const TSample* itk::Statistics::MeanShiftModeSeekerBase< TSample >::GetInputSample  )  const [inline]
 

Definition at line 82 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
unsigned int itk::Statistics::MeanShiftModeSeekerBase< TSample >::GetMaximumIteration  )  [inline]
 

Definition at line 88 of file itkMeanShiftModeSeekerBase.h.

template<class TSample>
itk::Statistics::MeanShiftModeSeekerBase< TSample >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
TSample::MeasurementVectorSize 
 

template<class TSample>
Pointer itk::Statistics::MeanShiftModeSeekerBase< TSample >::New  )  [static]
 

Standard Macros

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

template<class TSample>
void itk::Statistics::MeanShiftModeSeekerBase< TSample >::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::Object.

Reimplemented in itk::Statistics::HypersphereKernelMeanShiftModeSeeker< TSample >.

template<class TSample>
void itk::Statistics::MeanShiftModeSeekerBase< TSample >::SetCacheMethod CacheMethodType method  ) 
 

template<class TSample>
void itk::Statistics::MeanShiftModeSeekerBase< TSample >::SetInputSample const TSample *  sample  ) 
 

template<class TSample>
void itk::Statistics::MeanShiftModeSeekerBase< TSample >::SetMaximumIteration unsigned int  number  )  [inline]
 

Definition at line 85 of file itkMeanShiftModeSeekerBase.h.


The documentation for this class was generated from the following file:
Generated at Sun Apr 1 03:24:29 2007 for ITK by doxygen 1.3.8 written by Dimitri van Heesch, © 1997-2000