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