ITK
4.1.0
Insight Segmentation and Registration Toolkit
|
#include <itkCumulativeGaussianCostFunction.h>
Cost function for the Cumulative Gaussian Optimizer.
The Cumulative Gaussian is defined as the integral of a normalized Gaussian over the domain .
Definition at line 50 of file itkCumulativeGaussianCostFunction.h.
typedef SmartPointer< const Self > itk::CumulativeGaussianCostFunction::ConstPointer |
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 58 of file itkCumulativeGaussianCostFunction.h.
GradientType typedef. It defines a type used to return the cost function derivative.
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 69 of file itkCumulativeGaussianCostFunction.h.
MeasureType typedef. It defines a type used to return the cost function value.
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 68 of file itkCumulativeGaussianCostFunction.h.
Array Typedefs.
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 64 of file itkCumulativeGaussianCostFunction.h.
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 57 of file itkCumulativeGaussianCostFunction.h.
Standard typedefs.
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 55 of file itkCumulativeGaussianCostFunction.h.
Reimplemented from itk::MultipleValuedCostFunction.
Definition at line 56 of file itkCumulativeGaussianCostFunction.h.
anonymous enum |
The dimensions of parameter space; mean, standard deviation, lower and upper asymptotes.
Definition at line 73 of file itkCumulativeGaussianCostFunction.h.
virtual itk::CumulativeGaussianCostFunction::~CumulativeGaussianCostFunction | ( | ) | [protected, virtual] |
double itk::CumulativeGaussianCostFunction::CalculateFitError | ( | MeasureType * | setTestArray | ) |
Calculate a fit error between the data and the fit curve.
virtual::itk::LightObject::Pointer itk::CumulativeGaussianCostFunction::CreateAnother | ( | void | ) | const [virtual] |
Create an object from an instance, potentially deferring to a factory. This method allows you to create an instance of an object that is exactly the same type as the referring object. This is useful in cases where an object has been cast back to a base class.
Reimplemented from itk::Object.
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] |
Not necessary for this optimizer.
Definition at line 76 of file itkCumulativeGaussianCostFunction.h.
virtual const char* itk::CumulativeGaussianCostFunction::GetNameOfClass | ( | ) | const [virtual] |
Run-time type information (and related methods).
Reimplemented from itk::MultipleValuedCostFunction.
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 | ( | const ParametersType & | parameters | ) | const [virtual] |
Return the values evaluated for the given parameters.
Implements itk::MultipleValuedCostFunction.
Return a pointer of values evaluated for the given parameters.
void itk::CumulativeGaussianCostFunction::Initialize | ( | unsigned int | rangeDimension | ) |
Initialize the arrays.
static 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.
MeasureType itk::CumulativeGaussianCostFunction::m_Measure [mutable, private] |
Different arrays.
Definition at line 118 of file itkCumulativeGaussianCostFunction.h.
MeasureType* itk::CumulativeGaussianCostFunction::m_MeasurePointer [mutable, private] |
Definition at line 119 of file itkCumulativeGaussianCostFunction.h.
Pointer to the original data array.
Definition at line 112 of file itkCumulativeGaussianCostFunction.h.
ParametersType itk::CumulativeGaussianCostFunction::m_Parameters [mutable, private] |
Definition at line 120 of file itkCumulativeGaussianCostFunction.h.
unsigned int itk::CumulativeGaussianCostFunction::m_RangeDimension [private] |
Number of data samples.
Definition at line 115 of file itkCumulativeGaussianCostFunction.h.