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:

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 Methods

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

Protected Methods

 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 where is the number of measurement vectors in the target

Definition at line 42 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::GoodnessOfFitFunctionBase< TInputHistogram >, itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >, itk::Statistics::NeighborhoodSampler< TSample >, itk::Statistics::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

Definition at line 49 of file itkSampleAlgorithmBase.h.

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

Sample typedefs alias

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

Definition at line 57 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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

Definition at line 48 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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

Definition at line 46 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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

Definition at line 47 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 81 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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

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

Definition at line 70 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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

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::SampleToHistogramProjectionFilter< TInputSample, THistogramMeasurement >, itk::Statistics::WeightedCovarianceCalculator< TSample >, itk::Statistics::WeightedMeanCalculator< TSample >, and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >.

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

Stores the sample pointer

Definition at line 60 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 76 of file itkSampleAlgorithmBase.h.


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