Medical Imaging Interaction Toolkit  2021.10.99-9c07a326
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 __DUMMYMODELFITFUNCTOR_H
14 #define __DUMMYMODELFITFUNCTOR_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 // __DUMMYMODELFITFUNCTOR_H
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:47
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
std::vector< ParameterImagePixelType > InputPixelArrayType
std::map< std::string, ParameterImagePixelType > DebugParameterMapType
DataCollection - Class to facilitate loading/accessing structured data.
ModelBase::ParameterNamesType ParameterNamesType
#define MITKMODELFIT_EXPORT
Superclass::ParametersType ParametersType
ModelFitCostFunctionInterface::SignalType SignalType
ModelBase::ParametersType ParametersType
std::vector< ParameterImagePixelType > OutputPixelArrayType
itk::SmartPointer< Self > Pointer
Superclass::OutputPixelArrayType OutputPixelArrayType
itk::SmartPointer< const Self > ConstPointer
Superclass::SignalType SignalType
Superclass::InputPixelArrayType InputPixelArrayType