|
Medical Imaging Interaction Toolkit
2026.06.00
Medical Imaging Interaction Toolkit
|
Interface class that is implemented by all cost functions used in model fitting. More...
#include <mitkModelFitCostFunctionInterface.h>

Public Types | |
| typedef ModelFitCostFunctionInterface | Self |
| typedef itk::Array< double > | SignalType |
| Type representing the observed signal values. More... | |
Public Member Functions | |
| virtual void | SetSample (const SignalType &sampleSet)=0 |
| Sets the observed sample signal that the model will be fitted against. More... | |
| virtual void | SetModel (const ModelBase *model)=0 |
| Sets the model instance to be used for cost evaluation. More... | |
| virtual const ModelBase * | GetModel () const =0 |
| Returns the model instance currently used for cost evaluation. More... | |
Protected Member Functions | |
| ModelFitCostFunctionInterface () | |
| virtual | ~ModelFitCostFunctionInterface () |
Interface class that is implemented by all cost functions used in model fitting.
This interface defines the common API for cost functions that evaluate how well a model fits observed data. Implementations compute a cost/measure based on the difference between the model signal and the observed sample signal.
Definition at line 32 of file mitkModelFitCostFunctionInterface.h.
Definition at line 36 of file mitkModelFitCostFunctionInterface.h.
| typedef itk::Array<double> mitk::ModelFitCostFunctionInterface::SignalType |
Type representing the observed signal values.
Definition at line 39 of file mitkModelFitCostFunctionInterface.h.
|
inlineprotected |
Definition at line 61 of file mitkModelFitCostFunctionInterface.h.
|
inlineprotectedvirtual |
Definition at line 65 of file mitkModelFitCostFunctionInterface.h.
|
pure virtual |
Returns the model instance currently used for cost evaluation.
|
pure virtual |
Sets the model instance to be used for cost evaluation.
| [in] | model | Pointer to the model to evaluate. |
|
pure virtual |
Sets the observed sample signal that the model will be fitted against.
| [in] | sampleSet | The observed signal values. |
Implemented in mitk::SVModelFitCostFunction, and mitk::MVModelFitCostFunction.