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

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

Calculates the covariance matrix of the target sample data. More...

#include <itkCovarianceCalculator.h>

Inheritance diagram for itk::Statistics::CovarianceCalculator:

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

Collaboration graph
[legend]
List of all members.

[NOHEADER]

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

Public Types

typedef CovarianceCalculator Self
typedef Object Superclass
typedef SmartPointer< SelfPointer
typedef Vector< double, itkGetStaticConstMacro(MeasurementVectorSize) MeanType )
typedef Matrix< double, itkGetStaticConstMacro(MeasurementVectorSize), itkGetStaticConstMacro(MeasurementVectorSize) OutputType )

Public Methods

 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TSample::MeasurementVectorSize)
void SetMean (MeanType *mean)
MeanTypeGetMean ()
OutputTypeGetOutput ()

Protected Methods

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

Detailed Description

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

Calculates the covariance matrix of the target sample data.

Let denotes covariance matrix for the sample, then: When is th component of a measurement vector , is the th componet of the , and the is the th componet ,

Definition at line 40 of file itkCovarianceCalculator.h.


Member Typedef Documentation

template<class TSample>
typedef Vector< double, itkGetStaticConstMacro(MeasurementVectorSize) itk::Statistics::CovarianceCalculator< TSample >::MeanType)
 

Typedef for the mean output

Definition at line 58 of file itkCovarianceCalculator.h.

template<class TSample>
typedef Matrix< double, itkGetStaticConstMacro(MeasurementVectorSize), itkGetStaticConstMacro(MeasurementVectorSize) itk::Statistics::CovarianceCalculator< TSample >::OutputType)
 

Typedef for the mean output

Definition at line 59 of file itkCovarianceCalculator.h.

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

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 47 of file itkCovarianceCalculator.h.

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

Standard class typedefs.

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 45 of file itkCovarianceCalculator.h.

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

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

Definition at line 46 of file itkCovarianceCalculator.h.


Constructor & Destructor Documentation

template<class TSample>
itk::Statistics::CovarianceCalculator< TSample >::CovarianceCalculator   [protected]
 

template<class TSample>
virtual itk::Statistics::CovarianceCalculator< TSample >::~CovarianceCalculator   [inline, protected, virtual]
 

Definition at line 73 of file itkCovarianceCalculator.h.


Member Function Documentation

template<class TSample>
void itk::Statistics::CovarianceCalculator< TSample >::GenerateData   [protected, virtual]
 

Calculates the covariance and save it

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

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

Standard Macros

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

template<class TSample>
MeanType* itk::Statistics::CovarianceCalculator< TSample >::GetMean  
 

Returns the sample pointer

template<class TSample>
OutputType* itk::Statistics::CovarianceCalculator< TSample >::GetOutput  
 

Returns the covariance matrix of the target sample data

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

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

Standard Macros

Reimplemented from itk::Statistics::SampleAlgorithmBase< TSample >.

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

template<class TSample>
void itk::Statistics::CovarianceCalculator< TSample >::SetMean MeanType   mean
 

Stores the sample pointer


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