Base class for all model fit cost functions that return a vector of cost values.
More...
#include <mitkMVModelFitCostFunction.h>
Base class for all model fit cost functions that return a vector of cost values.
Inherits from itk::MultipleValuedCostFunction and ModelFitCostFunctionInterface. This class provides a default numerical derivative computation. Subclasses only need to implement CalcMeasure() to define the specific cost metric.
- See also
- SVModelFitCostFunction, SquaredDifferencesFitCostFunction, MVConstrainedCostFunctionDecorator
Definition at line 36 of file mitkMVModelFitCostFunction.h.
◆ ConstPointer
◆ DerivativeType
◆ MeasureType
◆ Pointer
◆ Self
◆ SignalType
◆ Superclass
◆ MVModelFitCostFunction()
| mitk::MVModelFitCostFunction::MVModelFitCostFunction |
( |
| ) |
|
|
inlineprotected |
◆ ~MVModelFitCostFunction()
| mitk::MVModelFitCostFunction::~MVModelFitCostFunction |
( |
| ) |
|
|
inlineoverrideprotected |
◆ CalcMeasure()
| virtual MeasureType mitk::MVModelFitCostFunction::CalcMeasure |
( |
const ParametersType & |
parameters, |
|
|
const SignalType & |
signal |
|
) |
| const |
|
protectedpure virtual |
◆ GetDerivative()
| void mitk::MVModelFitCostFunction::GetDerivative |
( |
const ParametersType & |
parameters, |
|
|
DerivativeType & |
derivative |
|
) |
| const |
|
override |
Computes the Jacobian matrix numerically via finite differences.
- Parameters
-
| [in] | parameters | The parameters at which the derivative is evaluated. |
| [out] | derivative | The computed Jacobian matrix. |
◆ GetDerivativeStepLength()
| virtual double mitk::MVModelFitCostFunction::GetDerivativeStepLength |
( |
| ) |
const |
|
virtual |
◆ GetNumberOfParameters()
| unsigned int mitk::MVModelFitCostFunction::GetNumberOfParameters |
( |
void |
| ) |
const |
|
override |
Returns the number of model parameters.
- Returns
- The number of parameters of the associated model.
◆ GetNumberOfValues()
| unsigned int mitk::MVModelFitCostFunction::GetNumberOfValues |
( |
void |
| ) |
const |
|
override |
Returns the number of values (residuals) returned by GetValue().
- Returns
- The number of cost values (equals the sample signal size).
◆ GetValue()
| MeasureType mitk::MVModelFitCostFunction::GetValue |
( |
const ParametersType & |
parameter | ) |
const |
|
override |
Computes the cost value vector for the given parameters.
- Parameters
-
| [in] | parameter | The model parameters to evaluate. |
- Returns
- A vector of cost values (one per time point).
◆ mitkOverrideGetConstObjectMacro()
| mitk::MVModelFitCostFunction::mitkOverrideGetConstObjectMacro |
( |
Model |
, |
|
|
ModelBase |
|
|
) |
| |
◆ mitkOverrideSetConstObjectMacro()
| mitk::MVModelFitCostFunction::mitkOverrideSetConstObjectMacro |
( |
Model |
, |
|
|
ModelBase |
|
|
) |
| |
◆ SetDerivativeStepLength()
| virtual void mitk::MVModelFitCostFunction::SetDerivativeStepLength |
( |
double |
_arg | ) |
|
|
virtual |
◆ SetSample()
| void mitk::MVModelFitCostFunction::SetSample |
( |
const SignalType & |
sampleSet | ) |
|
|
overridevirtual |
◆ m_Sample
The documentation for this class was generated from the following file: