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

itk::Statistics::SampleAlgorithmBase< TInputSample > Class Template Reference

calculates sample mean More...

#include <itkSampleAlgorithmBase.h>

Inheritance diagram for itk::Statistics::SampleAlgorithmBase< TInputSample >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::SampleAlgorithmBase< TInputSample >:

Collaboration graph
[legend]
List of all members.

[NOHEADER]

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

Public Types

typedef SampleAlgorithmBase Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputSample InputSampleType

Public Member Functions

const TInputSample * GetInputSample () const
void Update ()
void SetInputSample (const TInputSample *sample)

Protected Member Functions

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

Detailed Description

template<class TInputSample>
class itk::Statistics::SampleAlgorithmBase< TInputSample >

calculates sample mean

You plug in the target sample data using SetSample method. Then call the GenerateData method to run the alogithm.

The return value that the GetOutput method $ = \frac{1}{n}\sum^{n}_{i=1} $ where $n$ is the number of measurement vectors in the target

Definition at line 44 of file itkSampleAlgorithmBase.h.


Member Typedef Documentation

template<class TInputSample>
typedef SmartPointer< const Self > itk::Statistics::SampleAlgorithmBase< TInputSample >::ConstPointer
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

Definition at line 51 of file itkSampleAlgorithmBase.h.

template<class TInputSample>
typedef TInputSample itk::Statistics::SampleAlgorithmBase< TInputSample >::InputSampleType
 

Sample typedefs alias

Reimplemented in itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, and itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >.

Definition at line 59 of file itkSampleAlgorithmBase.h.

template<class TInputSample>
typedef SmartPointer< Self > itk::Statistics::SampleAlgorithmBase< TInputSample >::Pointer
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

Definition at line 50 of file itkSampleAlgorithmBase.h.

template<class TInputSample>
typedef SampleAlgorithmBase itk::Statistics::SampleAlgorithmBase< TInputSample >::Self
 

Standard class typedefs.

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

Definition at line 48 of file itkSampleAlgorithmBase.h.

template<class TInputSample>
typedef Object itk::Statistics::SampleAlgorithmBase< TInputSample >::Superclass
 

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

Definition at line 49 of file itkSampleAlgorithmBase.h.


Constructor & Destructor Documentation

template<class TInputSample>
itk::Statistics::SampleAlgorithmBase< TInputSample >::SampleAlgorithmBase  )  [protected]
 

template<class TInputSample>
virtual itk::Statistics::SampleAlgorithmBase< TInputSample >::~SampleAlgorithmBase  )  [inline, protected, virtual]
 

Definition at line 83 of file itkSampleAlgorithmBase.h.


Member Function Documentation

template<class TInputSample>
virtual void itk::Statistics::SampleAlgorithmBase< TInputSample >::GenerateData  )  [protected, virtual]
 

Calculates the mean and save it

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

template<class TInputSample>
virtual const char* itk::Statistics::SampleAlgorithmBase< TInputSample >::GetClassName  )  const [virtual]
 

Standard Macros

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

template<class TInputSample>
const TInputSample* itk::Statistics::SampleAlgorithmBase< TInputSample >::GetInputSample  )  const [inline]
 

Definition at line 72 of file itkSampleAlgorithmBase.h.

template<class TInputSample>
Pointer itk::Statistics::SampleAlgorithmBase< TInputSample >::New  )  [static]
 

Standard Macros

Reimplemented from itk::Object.

Reimplemented in itk::Statistics::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

template<class TInputSample>
void itk::Statistics::SampleAlgorithmBase< TInputSample >::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::CovarianceCalculator< TSample >, itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::MeanCalculator< TSample >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleMeanShiftClusteringFilter< TSample >, itk::Statistics::SampleSelectiveMeanShiftBlurringFilter< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, and itk::Statistics::WeightedMeanCalculator< TSample >.

template<class TInputSample>
void itk::Statistics::SampleAlgorithmBase< TInputSample >::SetInputSample const TInputSample *  sample  )  [inline]
 

Stores the sample pointer Definition at line 62 of file itkSampleAlgorithmBase.h.

template<class TInputSample>
void itk::Statistics::SampleAlgorithmBase< TInputSample >::Update void   )  [inline]
 

dummy function that calls the GenerateData() function to generate output. It exists for future compatibility with ProcessObject without streaming Definition at line 78 of file itkSampleAlgorithmBase.h.


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