Medical Imaging Interaction Toolkit  2024.06.00
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 
44  ParameterNamesType GetCriterionNames() const override;
45 
46  protected:
47 
50 
52 
53  ~DummyModelFitFunctor() override;
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 
63  virtual MVModelFitCostFunction::Pointer GenerateCostFunction(const SignalType& value,
64  const ModelBase* model) const;
65 
66  ParameterNamesType DefineDebugParameterNames() const override;
67 
68  private:
69  double m_DerivativeStepLength;
70 
71  };
72 
73 }
74 
75 
76 #endif
mitk::ModelFitFunctorBase::ParameterNamesType
ModelBase::ParameterNamesType ParameterNamesType
Definition: mitkModelFitFunctorBase.h:64
mitk::ModelFitFunctorBase::OutputPixelArrayType
std::vector< ParameterImagePixelType > OutputPixelArrayType
Definition: mitkModelFitFunctorBase.h:42
MitkModelFitExports.h
mitk::DummyModelFitFunctor::Superclass
ModelFitFunctorBase Superclass
Definition: mitkDummyModelFitFunctor.h:31
mitk::DummyModelFitFunctor::Self
DummyModelFitFunctor Self
Definition: mitkDummyModelFitFunctor.h:30
mitk::ModelBase::ParametersType
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
mitk::DummyModelFitFunctor
Definition: mitkDummyModelFitFunctor.h:27
itk::SmartPointer< Self >
MITKMODELFIT_EXPORT
#define MITKMODELFIT_EXPORT
Definition: MitkModelFitExports.h:15
mitkModelBase.h
mitk
Find image slices visible on a given plane.
Definition: RenderingTests.dox:1
mitk::ModelFitFunctorBase::SignalType
ModelFitCostFunctionInterface::SignalType SignalType
Definition: mitkModelFitFunctorBase.h:88
mitk::ModelFitFunctorBase::DebugParameterMapType
std::map< std::string, ParameterImagePixelType > DebugParameterMapType
Definition: mitkModelFitFunctorBase.h:110
mitkModelFitFunctorBase.h
mitk::ModelFitFunctorBase
Definition: mitkModelFitFunctorBase.h:30
mitkMVConstrainedCostFunctionDecorator.h
mitk::DummyModelFitFunctor::ParametersType
Superclass::ParametersType ParametersType
Definition: mitkDummyModelFitFunctor.h:48
mitk::DummyModelFitFunctor::ConstPointer
itk::SmartPointer< const Self > ConstPointer
Definition: mitkDummyModelFitFunctor.h:33
mitk::ModelFitFunctorBase::ParametersType
ModelBase::ParametersType ParametersType
Definition: mitkModelFitFunctorBase.h:83
mitk::DummyModelFitFunctor::InputPixelArrayType
Superclass::InputPixelArrayType InputPixelArrayType
Definition: mitkDummyModelFitFunctor.h:36
mitk::DummyModelFitFunctor::SignalType
Superclass::SignalType SignalType
Definition: mitkDummyModelFitFunctor.h:49
mitk::DummyModelFitFunctor::OutputPixelArrayType
Superclass::OutputPixelArrayType OutputPixelArrayType
Definition: mitkDummyModelFitFunctor.h:39
mitk::ModelBase
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47
mitk::ModelFitFunctorBase::InputPixelArrayType
std::vector< ParameterImagePixelType > InputPixelArrayType
Definition: mitkModelFitFunctorBase.h:41
mitk::DummyModelFitFunctor::Pointer
itk::SmartPointer< Self > Pointer
Definition: mitkDummyModelFitFunctor.h:32