#include <mitkModelFitFunctorBase.h>
Definition at line 30 of file mitkModelFitFunctorBase.h.
◆ ConstPointer
◆ DebugParameterMapType
◆ InputPixelArrayType
◆ OutputPixelArrayType
◆ ParameterImagePixelType
◆ ParameterNamesType
◆ ParametersType
◆ Pointer
◆ Self
◆ SignalType
◆ Superclass
◆ ModelFitFunctorBase()
mitk::ModelFitFunctorBase::ModelFitFunctorBase |
( |
| ) |
|
|
protected |
◆ ~ModelFitFunctorBase()
mitk::ModelFitFunctorBase::~ModelFitFunctorBase |
( |
| ) |
|
|
overrideprotected |
◆ Compute()
Returns the values determined by fitting the passed model. The values in the returned vector are ordered in the following sequence:
- model parameters (see also GetParameterNames())
- derived model parameters (see also GetDerivedParameterNames())
- criterion(s) (see also GetCriterionNames())
- evaluation parameters (see also GetEvaluationParameterNames())
- Parameters
-
value | Signal the model should be fitted onto |
model | Pointer to the preconfigured/ready to use model instance for the fitting against the signal curve |
initialParameters | parameters of the model that should be used as starting point of the fitting process. |
- Precondition
- model must point to a valid instance.
-
Size of initialParameters must be equal to model->GetNumberOfParameters().
◆ DebugParameterMapsOff()
virtual void mitk::ModelFitFunctorBase::DebugParameterMapsOff |
( |
| ) |
|
|
virtual |
◆ DebugParameterMapsOn()
virtual void mitk::ModelFitFunctorBase::DebugParameterMapsOn |
( |
| ) |
|
|
virtual |
◆ DefineDebugParameterNames()
◆ DoModelFit()
Internal Method called by Compute(). It does the real fit and returns the found parameters. Additionally it must return its debug parameter via debugParameters.
- Postcondition
- If m_DebugParameterMaps is true, it must return all debug parameters defined by GetDebugParameterNames() via debugParameters.
- Parameters
-
| value | Signal the Model should be fitted against |
| model | Pointer to the model that should be fitted |
| initialParameters | Initial modal parameters for the fit |
[out] | debugParameters | Map containing all debug parameters for the done fit (must only valid if m_DebugParameterMap is true) |
Implemented in mitk::LevenbergMarquardtModelFitFunctor, and mitk::DummyModelFitFunctor.
◆ GetClassName()
virtual const char* mitk::ModelFitFunctorBase::GetClassName |
( |
| ) |
const |
|
virtual |
◆ GetCriteria()
◆ GetCriterionNames()
◆ GetDebugParameterMaps()
virtual bool mitk::ModelFitFunctorBase::GetDebugParameterMaps |
( |
| ) |
const |
|
virtual |
◆ GetDebugParameterNames()
Returns names of the depug parameters generated by the functor. Is empty, if debug is deactivated.
◆ GetDerivedParameters()
Internal Method called by Compute(). Gets all derived parameters of the models with the final found parameters of the fit.
◆ GetEvaluationParameterCostFunction()
const SVModelFitCostFunction* mitk::ModelFitFunctorBase::GetEvaluationParameterCostFunction |
( |
const std::string & |
parameterName | ) |
const |
◆ GetEvaluationParameterNames()
Returns names of all evaluation parameters defined by the user
◆ GetEvaluationParameters()
Internal Method called by Compute(). Gets the evaluation parameters for all cost functions enlisted by the user, based on the model with the final found parameters of the fit and the input signal.
◆ GetNumberOfOutputs()
unsigned int mitk::ModelFitFunctorBase::GetNumberOfOutputs |
( |
const ModelBase * |
model | ) |
const |
Returns the number of outputs the fit functor will return if compute is called. The number depends in parts on the passed model.
- Exceptions
-
Exception | will be thrown if no valid model is passed. |
◆ RegisterEvaluationParameter()
void mitk::ModelFitFunctorBase::RegisterEvaluationParameter |
( |
const std::string & |
parameterName, |
|
|
SVModelFitCostFunction * |
evaluationCostFunction |
|
) |
| |
◆ ResetEvaluationParameters()
void mitk::ModelFitFunctorBase::ResetEvaluationParameters |
( |
| ) |
|
◆ SetDebugParameterMaps()
virtual void mitk::ModelFitFunctorBase::SetDebugParameterMaps |
( |
bool |
_arg | ) |
|
|
virtual |
The documentation for this class was generated from the following file: