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

itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram > Class Template Reference

base class for classes calculates different types of goodness-of-fit statistics More...

#include <itkGoodnessOfFitFunctionBase.h>

Inheritance diagram for itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >:

Inheritance graph
[legend]
Collaboration diagram for itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >:

Collaboration graph
[legend]
List of all members.

Public Types

typedef GoodnessOfFitFunctionBase Self
typedef SampleAlgorithmBase<
TInputHistogram > 
Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef TInputHistogram::MeasurementType MeasurementType
typedef TInputHistogram::MeasurementVectorType MeasurementVectorType
typedef TInputHistogram InputHistogramType
typedef double OutputType

Public Member Functions

virtual const char * GetNameOfClass () const
 itkStaticConstMacro (MeasurementVectorSize, unsigned int, TInputHistogram::MeasurementVectorSize)
void SetObservedHistogram (InputHistogramType *histogram)
InputHistogramTypeGetObservedHistogram ()
void SetExpectedHistogram (InputHistogramType *histogram)
InputHistogramTypeGetExpectedHistogram ()
virtual bool GetUseExpectedHistogram ()
void SetTotalObservedScale (double *scale)
OutputTypeGetOutput ()

Static Public Member Functions

Pointer New ()

Protected Member Functions

 GoodnessOfFitFunctionBase ()
virtual ~GoodnessOfFitFunctionBase ()
void PrintSelf (std::ostream &os, Indent indent) const
virtual void SetUseExpectedHistogram (bool _arg)
virtual void GenerateData ()
virtual const float & GetEpsilon ()
virtual const float & GetLogEpsilon ()

Detailed Description

template<class TInputHistogram>
class itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >

base class for classes calculates different types of goodness-of-fit statistics

Goodness-of-fit function quantifies discrepancy between the given model with the observation by summarizing the difference between the expected frequency and the observed frequency.

See also:
GoodnessOfFitMixtureModelCostFunction, GoodnessOfFitComponentBase

Definition at line 39 of file itkGoodnessOfFitFunctionBase.h.


Member Typedef Documentation

template<class TInputHistogram>
typedef SmartPointer< const Self > itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::ConstPointer
 

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 47 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef TInputHistogram itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::InputHistogramType
 

Definition at line 61 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef TInputHistogram::MeasurementType itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::MeasurementType
 

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 59 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef TInputHistogram::MeasurementVectorType itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::MeasurementVectorType
 

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 60 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef double itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::OutputType
 

Definition at line 91 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef SmartPointer< Self > itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::Pointer
 

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 46 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef GoodnessOfFitFunctionBase itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::Self
 

Standard class typedefs

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 44 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
typedef SampleAlgorithmBase< TInputHistogram > itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::Superclass
 

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 45 of file itkGoodnessOfFitFunctionBase.h.


Constructor & Destructor Documentation

template<class TInputHistogram>
itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GoodnessOfFitFunctionBase  )  [protected]
 

template<class TInputHistogram>
virtual itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::~GoodnessOfFitFunctionBase  )  [inline, protected, virtual]
 

Definition at line 98 of file itkGoodnessOfFitFunctionBase.h.


Member Function Documentation

template<class TInputHistogram>
virtual void itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GenerateData void   )  [inline, protected, virtual]
 

Calculates the mean and save it

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

Definition at line 103 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
virtual const float& itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetEpsilon  )  [protected, virtual]
 

template<class TInputHistogram>
InputHistogramType* itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetExpectedHistogram  )  [inline]
 

Gets the expected histogram input

Definition at line 74 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
virtual const float& itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetLogEpsilon  )  [protected, virtual]
 

template<class TInputHistogram>
virtual const char* itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetNameOfClass  )  const [virtual]
 

Run-time type information (and related methods).

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

template<class TInputHistogram>
InputHistogramType* itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetObservedHistogram  )  [inline]
 

Gets the observed histogram

Definition at line 67 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
OutputType& itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetOutput void   )  [inline]
 

Definition at line 93 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
virtual bool itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetUseExpectedHistogram  )  [virtual]
 

Sets the flag that tells if a subclass needs the expected histogram for goodness-of-fit statistics calculation. This flag should be set only by a subclass

template<class TInputHistogram>
itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::itkStaticConstMacro MeasurementVectorSize  ,
unsigned  int,
TInputHistogram::MeasurementVectorSize 
 

typedefs from Superclass

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

template<class TInputHistogram>
Pointer itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::New  )  [static]
 

Method for creation through the object factory.

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

Reimplemented in itk::Statistics::LogLikelihoodGoodnessOfFitFunction< TInputHistogram >.

template<class TInputHistogram>
void itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::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< TInputHistogram >.

template<class TInputHistogram>
void itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetExpectedHistogram InputHistogramType histogram  ) 
 

Sets the expected histogram input

template<class TInputHistogram>
void itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetObservedHistogram InputHistogramType histogram  ) 
 

Sets the observed histogram input

template<class TInputHistogram>
void itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetTotalObservedScale double *  scale  )  [inline]
 

Definition at line 82 of file itkGoodnessOfFitFunctionBase.h.

template<class TInputHistogram>
virtual void itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::SetUseExpectedHistogram bool  _arg  )  [protected, virtual]
 


The documentation for this class was generated from the following file:
Generated at Thu May 25 03:04:55 2006 for ITK by doxygen 1.3.5 written by Dimitri van Heesch, © 1997-2000