18 #ifndef itkCumulativeGaussianCostFunction_h
19 #define itkCumulativeGaussianCostFunction_h
22 #include "ITKOptimizersExport.h"
74 enum { SpaceDimension = 4 };
81 virtual MeasureType GetValue(
const ParametersType & parameters)
const ITK_OVERRIDE;
84 MeasureType * GetValuePointer(ParametersType & parameters);
87 double CalculateFitError(MeasureType *setTestArray);
90 double EvaluateCumulativeGaussian(
double argument)
const;
93 virtual unsigned int GetNumberOfParameters() const ITK_OVERRIDE;
96 virtual
unsigned int GetNumberOfValues() const ITK_OVERRIDE;
99 void Initialize(
unsigned int rangeDimension);
102 void SetOriginalDataArray(MeasureType *setOriginalDataArray);
106 virtual ~CumulativeGaussianCostFunction();
108 virtual
void PrintSelf(std::ostream & os,
Indent indent) const ITK_OVERRIDE;
116 unsigned int m_RangeDimension;
Light weight base class for most itk classes.
Superclass::ParametersType ParametersType
This class is a base for the CostFunctions returning a multiple values.
SmartPointer< Self > Pointer
void GetDerivative(const ParametersType &, DerivativeType &) const override
Superclass::MeasureType MeasureType
Cost function for the Cumulative Gaussian Optimizer.
Superclass::DerivativeType DerivativeType
CumulativeGaussianCostFunction Self
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
MultipleValuedCostFunction Superclass