Base class for all model fit cost functions that return a single scalar cost value.
More...
#include <mitkSVModelFitCostFunction.h>
Base class for all model fit cost functions that return a single scalar cost value.
Inherits from itk::SingleValuedCostFunction and ModelFitCostFunctionInterface. Subclasses must implement CalcMeasure() to define the specific cost metric. Provides a default numerical derivative computation via finite differences.
- See also
- MVModelFitCostFunction, ModelFitCostFunctionInterface, SumOfSquaredDifferencesFitCostFunction
Definition at line 36 of file mitkSVModelFitCostFunction.h.
◆ ConstPointer
◆ DerivativeType
◆ MeasureType
◆ Pointer
◆ Self
◆ SignalType
◆ Superclass
◆ SVModelFitCostFunction()
| mitk::SVModelFitCostFunction::SVModelFitCostFunction |
( |
| ) |
|
|
inlineprotected |
◆ ~SVModelFitCostFunction()
| mitk::SVModelFitCostFunction::~SVModelFitCostFunction |
( |
| ) |
|
|
inlineoverrideprotected |
◆ CalcMeasure()
| virtual MeasureType mitk::SVModelFitCostFunction::CalcMeasure |
( |
const ParametersType & |
parameters, |
|
|
const SignalType & |
signal |
|
) |
| const |
|
protectedpure virtual |
◆ GetDerivative()
| void mitk::SVModelFitCostFunction::GetDerivative |
( |
const ParametersType & |
parameters, |
|
|
DerivativeType & |
derivative |
|
) |
| const |
|
override |
Computes the derivative of the cost function numerically via finite differences.
- Parameters
-
| [in] | parameters | The parameters at which the derivative is evaluated. |
| [out] | derivative | The computed derivative vector. |
◆ GetDerivativeStepLength()
| virtual double mitk::SVModelFitCostFunction::GetDerivativeStepLength |
( |
| ) |
const |
|
virtual |
◆ GetNumberOfParameters()
| unsigned int mitk::SVModelFitCostFunction::GetNumberOfParameters |
( |
void |
| ) |
const |
|
override |
Returns the number of model parameters.
- Returns
- The number of parameters of the associated model.
◆ GetValue()
| MeasureType mitk::SVModelFitCostFunction::GetValue |
( |
const ParametersType & |
parameter | ) |
const |
|
override |
Computes the scalar cost value for the given parameters.
- Parameters
-
| [in] | parameter | The model parameters to evaluate. |
- Returns
- The scalar cost measure value.
◆ mitkOverrideGetConstObjectMacro()
| mitk::SVModelFitCostFunction::mitkOverrideGetConstObjectMacro |
( |
Model |
, |
|
|
ModelBase |
|
|
) |
| |
◆ mitkOverrideSetConstObjectMacro()
| mitk::SVModelFitCostFunction::mitkOverrideSetConstObjectMacro |
( |
Model |
, |
|
|
ModelBase |
|
|
) |
| |
◆ SetDerivativeStepLength()
| virtual void mitk::SVModelFitCostFunction::SetDerivativeStepLength |
( |
double |
_arg | ) |
|
|
virtual |
◆ SetSample()
| void mitk::SVModelFitCostFunction::SetSample |
( |
const SignalType & |
sampleSet | ) |
|
|
overridevirtual |
◆ m_Sample
The documentation for this class was generated from the following file: