Medical Imaging Interaction Toolkit  2024.06.99-60d9b802
Medical Imaging Interaction Toolkit
mitk::DummyModelFitFunctor Class Reference

#include <mitkDummyModelFitFunctor.h>

Inheritance diagram for mitk::DummyModelFitFunctor:
Collaboration diagram for mitk::DummyModelFitFunctor:

Public Types

typedef DummyModelFitFunctor Self
 
typedef ModelFitFunctorBase Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef Superclass::InputPixelArrayType InputPixelArrayType
 
typedef Superclass::OutputPixelArrayType OutputPixelArrayType
 
- Public Types inherited from mitk::ModelFitFunctorBase
typedef ModelFitFunctorBase Self
 
typedef itk::Object Superclass
 
typedef itk::SmartPointer< SelfPointer
 
typedef itk::SmartPointer< const SelfConstPointer
 
typedef ScalarType ParameterImagePixelType
 
typedef std::vector< ParameterImagePixelTypeInputPixelArrayType
 
typedef std::vector< ParameterImagePixelTypeOutputPixelArrayType
 
typedef ModelBase::ParameterNamesType ParameterNamesType
 

Public Member Functions

virtual const char * GetClassName () const
 
virtual void SetDerivativeStepLength (double _arg)
 
virtual double GetDerivativeStepLength ()
 
ParameterNamesType GetCriterionNames () const override
 
- Public Member Functions inherited from mitk::ModelFitFunctorBase
OutputPixelArrayType Compute (const InputPixelArrayType &value, const ModelBase *model, const ModelBase::ParametersType &initialParameters) const
 
unsigned int GetNumberOfOutputs (const ModelBase *model) const
 
ParameterNamesType GetEvaluationParameterNames () const
 
void ResetEvaluationParameters ()
 
void RegisterEvaluationParameter (const std::string &parameterName, SVModelFitCostFunction *evaluationCostFunction)
 
const SVModelFitCostFunctionGetEvaluationParameterCostFunction (const std::string &parameterName) const
 
ParameterNamesType GetDebugParameterNames () const
 
virtual void DebugParameterMapsOn ()
 
virtual void DebugParameterMapsOff ()
 
virtual void SetDebugParameterMaps (bool _arg)
 
virtual bool GetDebugParameterMaps () const
 

Static Public Member Functions

static Pointer New ()
 

Protected Types

typedef Superclass::ParametersType ParametersType
 
typedef Superclass::SignalType SignalType
 
- Protected Types inherited from mitk::ModelFitFunctorBase
typedef ModelBase::ParametersType ParametersType
 
typedef ModelFitCostFunctionInterface::SignalType SignalType
 
typedef std::map< std::string, ParameterImagePixelTypeDebugParameterMapType
 

Protected Member Functions

 DummyModelFitFunctor ()
 
 ~DummyModelFitFunctor () override
 
ParametersType DoModelFit (const SignalType &value, const ModelBase *model, const ModelBase::ParametersType &initialParameters, DebugParameterMapType &debugParameters) const override
 
OutputPixelArrayType GetCriteria (const ModelBase *model, const ParametersType &parameters, const SignalType &sample) const override
 
virtual MVModelFitCostFunction::Pointer GenerateCostFunction (const SignalType &value, const ModelBase *model) const
 
ParameterNamesType DefineDebugParameterNames () const override
 
- Protected Member Functions inherited from mitk::ModelFitFunctorBase
 ModelFitFunctorBase ()
 
 ~ModelFitFunctorBase () override
 
OutputPixelArrayType GetDerivedParameters (const ModelBase *model, const ParametersType &parameters) const
 
OutputPixelArrayType GetEvaluationParameters (const ModelBase *model, const ParametersType &parameters, const SignalType &sample) const
 

Detailed Description

Definition at line 27 of file mitkDummyModelFitFunctor.h.

Member Typedef Documentation

◆ ConstPointer

◆ InputPixelArrayType

◆ OutputPixelArrayType

◆ ParametersType

◆ Pointer

◆ Self

◆ SignalType

◆ Superclass

Constructor & Destructor Documentation

◆ DummyModelFitFunctor()

mitk::DummyModelFitFunctor::DummyModelFitFunctor ( )
protected

◆ ~DummyModelFitFunctor()

mitk::DummyModelFitFunctor::~DummyModelFitFunctor ( )
overrideprotected

Member Function Documentation

◆ DefineDebugParameterNames()

ParameterNamesType mitk::DummyModelFitFunctor::DefineDebugParameterNames ( ) const
overrideprotectedvirtual

Returns names of the depug parameters generated by the functor. Will be called by GetDebugParameterNames, if debug is activated.

Implements mitk::ModelFitFunctorBase.

◆ DoModelFit()

ParametersType mitk::DummyModelFitFunctor::DoModelFit ( const SignalType value,
const ModelBase model,
const ModelBase::ParametersType initialParameters,
DebugParameterMapType debugParameters 
) const
overrideprotectedvirtual

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
valueSignal the Model should be fitted against
modelPointer to the model that should be fitted
initialParametersInitial modal parameters for the fit
[out]debugParametersMap containing all debug parameters for the done fit (must only valid if m_DebugParameterMap is true)

Implements mitk::ModelFitFunctorBase.

◆ GenerateCostFunction()

virtual MVModelFitCostFunction::Pointer mitk::DummyModelFitFunctor::GenerateCostFunction ( const SignalType value,
const ModelBase model 
) const
protectedvirtual

Generator function that instantiates and parameterizes the cost function that should be used by the fit functor

◆ GetClassName()

virtual const char* mitk::DummyModelFitFunctor::GetClassName ( ) const
virtual

Reimplemented from mitk::ModelFitFunctorBase.

◆ GetCriteria()

OutputPixelArrayType mitk::DummyModelFitFunctor::GetCriteria ( const ModelBase model,
const ParametersType parameters,
const SignalType sample 
) const
overrideprotectedvirtual

Internal Method called by Compute to get the final criterion values thar dove the fit. must be implemented be concrete functor classes.

Implements mitk::ModelFitFunctorBase.

◆ GetCriterionNames()

ParameterNamesType mitk::DummyModelFitFunctor::GetCriterionNames ( ) const
overridevirtual

Returns names of the criterion used to fit the model.

Implements mitk::ModelFitFunctorBase.

◆ GetDerivativeStepLength()

virtual double mitk::DummyModelFitFunctor::GetDerivativeStepLength ( )
virtual

◆ New()

static Pointer mitk::DummyModelFitFunctor::New ( )
static

◆ SetDerivativeStepLength()

virtual void mitk::DummyModelFitFunctor::SetDerivativeStepLength ( double  _arg)
virtual

The documentation for this class was generated from the following file: