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

itk::CumulativeGaussianCostFunction Class Reference
[NumericsFunctions]

Cost function for the Cumulative Gaussian Optimizer. More...

#include <itkCumulativeGaussianCostFunction.h>

Inheritance diagram for itk::CumulativeGaussianCostFunction:

Inheritance graph
[legend]
Collaboration diagram for itk::CumulativeGaussianCostFunction:

Collaboration graph
[legend]
List of all members.

Public Types

typedef CumulativeGaussianCostFunction Self
typedef MultipleValuedCostFunction Superclass
typedef SmartPointer< SelfPointer
typedef SmartPointer< const
Self
ConstPointer
typedef Superclass::ParametersType ParametersType
typedef Superclass::MeasureType MeasureType
typedef Superclass::DerivativeType DerivativeType
enum  { SpaceDimension = 4 }

Public Methods

void GetDerivative (const ParametersType &, DerivativeType &) const
MeasureType GetValue (const ParametersType &parameters) const
MeasureTypeGetValue (ParametersType &parameters)
double CalculateFitError (MeasureType *setTestArray)
double EvaluateCumulativeGaussian (double argument) const
unsigned int GetNumberOfParameters () const
unsigned int GetNumberOfValues () const
void Initialize (unsigned int rangeDimension)
void SetOriginalDataArray (MeasureType *setOriginalDataArray)

Static Public Methods

Pointer New ()

Protected Methods

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

Detailed Description

Cost function for the Cumulative Gaussian Optimizer.

The Cumulative Gaussian is defined as the integral of a normalized Gaussian over the domain .

Let G(x) be the normalized Gaussian defined as
. The Cumulative Gaussian, is acquired by integrating G(x) then scaling and offseting it by the lower asymptotes I_2 : , where and .
C(x) can only be tabulated since it's a variation of the
error function. It is included in this class as the function EvaluateCumulativeGaussian, where the argument of the function is .

Definition at line 48 of file itkCumulativeGaussianCostFunction.h.


Member Typedef Documentation

typedef SmartPointer<const Self> itk::CumulativeGaussianCostFunction::ConstPointer
 

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 56 of file itkCumulativeGaussianCostFunction.h.

typedef Superclass::DerivativeType itk::CumulativeGaussianCostFunction::DerivativeType
 

GradientType typedef. It defines a type used to return the cost function derivative.

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 64 of file itkCumulativeGaussianCostFunction.h.

Referenced by GetDerivative().

typedef Superclass::MeasureType itk::CumulativeGaussianCostFunction::MeasureType
 

MeasureType typedef. It defines a type used to return the cost function value.

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 63 of file itkCumulativeGaussianCostFunction.h.

typedef Superclass::ParametersType itk::CumulativeGaussianCostFunction::ParametersType
 

Array Typedefs.

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 62 of file itkCumulativeGaussianCostFunction.h.

Referenced by GetDerivative().

typedef SmartPointer<Self> itk::CumulativeGaussianCostFunction::Pointer
 

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 55 of file itkCumulativeGaussianCostFunction.h.

typedef CumulativeGaussianCostFunction itk::CumulativeGaussianCostFunction::Self
 

Standard typedefs.

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 53 of file itkCumulativeGaussianCostFunction.h.

typedef MultipleValuedCostFunction itk::CumulativeGaussianCostFunction::Superclass
 

Reimplemented from itk::MultipleValuedCostFunction.

Definition at line 54 of file itkCumulativeGaussianCostFunction.h.


Member Enumeration Documentation

anonymous enum
 

The dimensions of parameter space; mean, standard deviation, lower and upper asymptotes.

Enumeration values:
SpaceDimension 

Definition at line 67 of file itkCumulativeGaussianCostFunction.h.


Constructor & Destructor Documentation

itk::CumulativeGaussianCostFunction::CumulativeGaussianCostFunction   [protected]
 

virtual itk::CumulativeGaussianCostFunction::~CumulativeGaussianCostFunction   [protected, virtual]
 


Member Function Documentation

double itk::CumulativeGaussianCostFunction::CalculateFitError MeasureType   setTestArray
 

Calculate a fit error between the data and the fit curve.

double itk::CumulativeGaussianCostFunction::EvaluateCumulativeGaussian double    argument const
 

Given the argument of a Cumulative Gaussian, return its value.

void itk::CumulativeGaussianCostFunction::GetDerivative const ParametersType  ,
DerivativeType  
const [inline, virtual]
 

Not necessary for this optimizer.

Implements itk::MultipleValuedCostFunction.

Definition at line 70 of file itkCumulativeGaussianCostFunction.h.

References DerivativeType, and ParametersType.

unsigned int itk::CumulativeGaussianCostFunction::GetNumberOfParameters   const [virtual]
 

Get the SpaceDimension.

Implements itk::CostFunction.

unsigned int itk::CumulativeGaussianCostFunction::GetNumberOfValues   const [virtual]
 

Get the number Range Dimension.

Implements itk::MultipleValuedCostFunction.

MeasureType* itk::CumulativeGaussianCostFunction::GetValue ParametersType   parameters
 

Return a pointer of values evaluated for the given parameters.

MeasureType itk::CumulativeGaussianCostFunction::GetValue const ParametersType   parameters const [virtual]
 

Return the values evaluated for the given parameters.

Implements itk::MultipleValuedCostFunction.

void itk::CumulativeGaussianCostFunction::Initialize unsigned int    rangeDimension
 

Initialize the arrays.

Pointer itk::CumulativeGaussianCostFunction::New   [static]
 

Method for creation through the object factory.

Reimplemented from itk::Object.

void itk::CumulativeGaussianCostFunction::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::CostFunction.

void itk::CumulativeGaussianCostFunction::SetOriginalDataArray MeasureType   setOriginalDataArray
 

Set the original data array.


The documentation for this class was generated from the following file:
Generated at Tue Sep 16 11:32:50 2003 for ITK by doxygen 1.2.15 written by Dimitri van Heesch, © 1997-2000