13 #ifndef mitkMVModelFitCostFunction_h
14 #define mitkMVModelFitCostFunction_h
16 #include <itkMultipleValuedCostFunction.h>
84 itkSetMacro(DerivativeStepLength,
double);
85 itkGetConstMacro(DerivativeStepLength,
double);
103 double m_DerivativeStepLength;
#define MITKMODELFIT_EXPORT
Base class for all model fit cost functions that return a vector of cost values.
itk::SmartPointer< const Self > ConstPointer
itk::MultipleValuedCostFunction Superclass
void GetDerivative(const ParametersType ¶meters, DerivativeType &derivative) const override
Computes the Jacobian matrix numerically via finite differences.
Superclass::MeasureType MeasureType
ModelFitCostFunctionInterface::SignalType SignalType
unsigned int GetNumberOfValues(void) const override
Returns the number of values (residuals) returned by GetValue().
~MVModelFitCostFunction() override
MeasureType GetValue(const ParametersType ¶meter) const override
Computes the cost value vector for the given parameters.
mitkOverrideGetConstObjectMacro(Model, ModelBase)
itk::SmartPointer< Self > Pointer
unsigned int GetNumberOfParameters(void) const override
Returns the number of model parameters.
MVModelFitCostFunction Self
Superclass::DerivativeType DerivativeType
void SetSample(const SignalType &sampleSet) override
Sets the observed sample signal.
mitkOverrideSetConstObjectMacro(Model, ModelBase)
virtual MeasureType CalcMeasure(const ParametersType ¶meters, const SignalType &signal) const =0
Base class for (dynamic) models.
Interface class that is implemented by all cost functions used in model fitting.
itk::Array< double > SignalType
Type representing the observed signal values.
Find image slices visible on a given plane.