Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkDummyModelFitFunctor.h
Go to the documentation of this file.
1 /*============================================================================
2 
3 The Medical Imaging Interaction Toolkit (MITK)
4 
5 Copyright (c) German Cancer Research Center (DKFZ)
6 All rights reserved.
7 
8 Use of this source code is governed by a 3-clause BSD license that can be
9 found in the LICENSE file.
10 
11 ============================================================================*/
12 
13 #ifndef mitkDummyModelFitFunctor_h
14 #define mitkDummyModelFitFunctor_h
15 
16 #include <itkObject.h>
17 
18 #include "mitkModelBase.h"
21 
22 #include "MitkModelFitExports.h"
23 
24 namespace mitk
25 {
26 
28  {
29  public:
34 
35  itkNewMacro(Self);
37 
40 
41  itkSetMacro(DerivativeStepLength, double);
42  itkGetMacro(DerivativeStepLength, double);
43 
45 
46  protected:
47 
50 
52 
54 
55  ParametersType DoModelFit(const SignalType& value, const ModelBase* model,
56  const ModelBase::ParametersType& initialParameters,
57  DebugParameterMapType& debugParameters) const override;
58 
59  OutputPixelArrayType GetCriteria(const ModelBase* model, const ParametersType& parameters,
60  const SignalType& sample) const override;
61 
64  const ModelBase* model) const;
65 
67 
68  private:
69  double m_DerivativeStepLength;
70 
71  };
72 
73 }
74 
75 
76 #endif
#define MITKMODELFIT_EXPORT
Superclass::SignalType SignalType
ParameterNamesType DefineDebugParameterNames() const override
Superclass::InputPixelArrayType InputPixelArrayType
Superclass::OutputPixelArrayType OutputPixelArrayType
Superclass::ParametersType ParametersType
virtual MVModelFitCostFunction::Pointer GenerateCostFunction(const SignalType &value, const ModelBase *model) const
itk::SmartPointer< const Self > ConstPointer
OutputPixelArrayType GetCriteria(const ModelBase *model, const ParametersType &parameters, const SignalType &sample) const override
itk::SmartPointer< Self > Pointer
ParametersType DoModelFit(const SignalType &value, const ModelBase *model, const ModelBase::ParametersType &initialParameters, DebugParameterMapType &debugParameters) const override
ParameterNamesType GetCriterionNames() const override
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:48
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
ModelFitCostFunctionInterface::SignalType SignalType
std::map< std::string, ParameterImagePixelType > DebugParameterMapType
std::vector< ParameterImagePixelType > InputPixelArrayType
ModelBase::ParametersType ParametersType
ModelBase::ParameterNamesType ParameterNamesType
std::vector< ParameterImagePixelType > OutputPixelArrayType
Find image slices visible on a given plane.