18 #ifndef itkCumulativeGaussianCostFunction_h 19 #define itkCumulativeGaussianCostFunction_h 22 #include "ITKOptimizersExport.h" 74 enum { SpaceDimension = 4 };
78 DerivativeType & itkNotUsed(derivative) ) const ITK_OVERRIDE {}
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);
108 virtual void PrintSelf(std::ostream & os,
Indent indent)
const ITK_OVERRIDE;
Superclass::ParametersType ParametersType
This class is a base for the CostFunctions returning a multiple values.
SmartPointer< Self > Pointer
MeasureType * m_MeasurePointer
The "itk" namespace contains all Insight Segmentation and Registration Toolkit (ITK) classes...
void GetDerivative(const ParametersType &, DerivativeType &) const override
MeasureType * m_OriginalDataArray
Superclass::MeasureType MeasureType
ParametersType m_Parameters
Cost function for the Cumulative Gaussian Optimizer.
Superclass::DerivativeType DerivativeType
CumulativeGaussianCostFunction Self
Control indentation during Print() invocation.
SmartPointer< const Self > ConstPointer
unsigned int m_RangeDimension
MultipleValuedCostFunction Superclass