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:

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 Methods

virtual const char * GetClassName () 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 Methods

Pointer New ()

Protected Methods

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

Protected Attributes

float m_Epsilon
float m_LogEpsilon

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.

Referenced by itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >::GetExpectedHistogram(), and itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >::GetObservedHistogram().

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 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.

Referenced by itk::Statistics::GoodnessOfFitFunctionBase< typename ComponentType::HistogramType >::GetOutput().

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]
 

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 char* itk::Statistics::GoodnessOfFitFunctionBase< TInputHistogram >::GetClassName   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 >::GetExpectedHistogram   [inline]
 

Gets the expected histogram input

Definition at line 74 of file itkGoodnessOfFitFunctionBase.h.

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]
 


Member Data Documentation

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

Definition at line 105 of file itkGoodnessOfFitFunctionBase.h.

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

Definition at line 106 of file itkGoodnessOfFitFunctionBase.h.


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