13 #ifndef mitkMVModelFitCostFunction_h
14 #define mitkMVModelFitCostFunction_h
16 #include <itkMultipleValuedCostFunction.h>
43 void SetSample(
const SignalType &sampleSet)
override;
45 MeasureType GetValue(
const ParametersType& parameter)
const override;
46 void GetDerivative (
const ParametersType ¶meters,
DerivativeType &derivative)
const override;
48 unsigned int GetNumberOfValues (
void)
const override;
49 unsigned int GetNumberOfParameters (
void)
const override;
54 itkSetMacro(DerivativeStepLength,
double);
55 itkGetConstMacro(DerivativeStepLength,
double);
59 virtual MeasureType CalcMeasure(
const ParametersType ¶meters,
const SignalType& signal)
const = 0;
73 double m_DerivativeStepLength;