ITK
4.2.0
Insight Segmentation and Registration Toolkit
|
#include <itkCumulativeGaussianCostFunction.h>
Public Types | |
enum | { SpaceDimension = 4 } |
typedef SmartPointer< const Self > | ConstPointer |
typedef Superclass::DerivativeType | DerivativeType |
typedef Superclass::MeasureType | MeasureType |
typedef Superclass::ParametersType | ParametersType |
typedef SmartPointer< Self > | Pointer |
typedef CumulativeGaussianCostFunction | Self |
typedef MultipleValuedCostFunction | Superclass |
Public Types inherited from itk::MultipleValuedCostFunction | |
Public Types inherited from itk::CostFunction | |
typedef double | ParametersValueType |
Public Types inherited from itk::Object | |
Public Types inherited from itk::LightObject |
Public Member Functions | |
double | CalculateFitError (MeasureType *setTestArray) |
virtual ::itk::LightObject::Pointer | CreateAnother (void) const |
double | EvaluateCumulativeGaussian (double argument) const |
void | GetDerivative (const ParametersType &, DerivativeType &) const |
virtual const char * | GetNameOfClass () const |
unsigned int | GetNumberOfParameters () const |
unsigned int | GetNumberOfValues () const |
MeasureType | GetValue (const ParametersType ¶meters) const |
MeasureType * | GetValuePointer (ParametersType ¶meters) |
void | Initialize (unsigned int rangeDimension) |
void | SetOriginalDataArray (MeasureType *setOriginalDataArray) |
Public Member Functions inherited from itk::MultipleValuedCostFunction | |
virtual void | GetDerivative (const ParametersType ¶meters, DerivativeType &derivative) const =0 |
Static Public Member Functions | |
static Pointer | New () |
Protected Member Functions | |
CumulativeGaussianCostFunction () | |
void | PrintSelf (std::ostream &os, Indent indent) const |
virtual | ~CumulativeGaussianCostFunction () |
Protected Member Functions inherited from itk::MultipleValuedCostFunction | |
MultipleValuedCostFunction () | |
virtual | ~MultipleValuedCostFunction () |
Protected Member Functions inherited from itk::CostFunction | |
CostFunction () | |
virtual | ~CostFunction () |
Protected Member Functions inherited from itk::Object | |
Object () | |
bool | PrintObservers (std::ostream &os, Indent indent) const |
virtual void | SetTimeStamp (const TimeStamp &time) |
virtual | ~Object () |
Protected Member Functions inherited from itk::LightObject | |
virtual LightObject::Pointer | InternalClone () const |
LightObject () | |
virtual void | PrintHeader (std::ostream &os, Indent indent) const |
virtual void | PrintTrailer (std::ostream &os, Indent indent) const |
virtual | ~LightObject () |
Private Attributes | |
MeasureType | m_Measure |
MeasureType * | m_MeasurePointer |
MeasureType * | m_OriginalDataArray |
ParametersType | m_Parameters |
unsigned int | m_RangeDimension |
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.
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 69 of file itkCumulativeGaussianCostFunction.h.
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 68 of file itkCumulativeGaussianCostFunction.h.
typedef Superclass::ParametersType itk::CumulativeGaussianCostFunction::ParametersType |
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.
|
protected |
|
protectedvirtual |
double itk::CumulativeGaussianCostFunction::CalculateFitError | ( | MeasureType * | setTestArray | ) |
Calculate a fit error between the data and the fit curve.
|
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.
|
inline |
Not necessary for this optimizer.
Definition at line 76 of file itkCumulativeGaussianCostFunction.h.
|
virtual |
Run-time type information (and related methods).
Reimplemented from itk::MultipleValuedCostFunction.
|
virtual |
Get the SpaceDimension.
Implements itk::CostFunction.
|
virtual |
Get the number Range Dimension.
Implements itk::MultipleValuedCostFunction.
|
virtual |
Return the values evaluated for the given parameters.
Implements itk::MultipleValuedCostFunction.
MeasureType* itk::CumulativeGaussianCostFunction::GetValuePointer | ( | ParametersType & | parameters | ) |
Return a pointer of values evaluated for the given parameters.
void itk::CumulativeGaussianCostFunction::Initialize | ( | unsigned int | rangeDimension | ) |
Initialize the arrays.
|
static |
Method for creation through the object factory.
Reimplemented from itk::Object.
|
protectedvirtual |
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.
|
mutableprivate |
Different arrays.
Definition at line 118 of file itkCumulativeGaussianCostFunction.h.
|
mutableprivate |
Definition at line 119 of file itkCumulativeGaussianCostFunction.h.
|
private |
Pointer to the original data array.
Definition at line 112 of file itkCumulativeGaussianCostFunction.h.
|
mutableprivate |
Definition at line 120 of file itkCumulativeGaussianCostFunction.h.
|
private |
Number of data samples.
Definition at line 115 of file itkCumulativeGaussianCostFunction.h.