Medical Imaging Interaction Toolkit  2025.12.02
Medical Imaging Interaction Toolkit
mitkExponentialSaturationModel.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 __MITK_EXPONENTIAL_SATURATION_MODEL_H_
14 #define __MITK_EXPONENTIAL_SATURATION_MODEL_H_
15 
16 #include "mitkModelBase.h"
17 
18 #include "MitkModelFitExports.h"
19 
20 namespace mitk
21 {
22 
27  {
28 
29  public:
34 
37 
39  itkFactorylessNewMacro(Self);
40  itkCloneMacro(Self);
41 
44 
45  static const std::string NAME_PARAMETER_BAT;
46  static const std::string NAME_PARAMETER_y_bl;
47  static const std::string NAME_PARAMETER_y_fin;
48  static const std::string NAME_PARAMETER_k;
49 
50  static const unsigned int NUMBER_OF_PARAMETERS;
51 
52  static const std::string UNIT_PARAMETER_BAT;
53  static const std::string UNIT_PARAMETER_y_bl;
54  static const std::string UNIT_PARAMETER_y_fin;
55  static const std::string UNIT_PARAMETER_k;
56 
57  static const unsigned int POSITION_PARAMETER_BAT;
58  static const unsigned int POSITION_PARAMETER_y_bl;
59  static const unsigned int POSITION_PARAMETER_y_fin;
60  static const unsigned int POSITION_PARAMETER_k;
61 
62  static const unsigned int NUMBER_OF_STATIC_PARAMETERS;
63 
64  static const std::string MODEL_DISPLAY_NAME;
65 
66  static const std::string MODEL_TYPE;
67 
68  static const std::string FUNCTION_STRING;
69 
70  static const std::string X_NAME;
71 
72  static const std::string X_AXIS_NAME;
73 
74  static const std::string X_AXIS_UNIT;
75 
76  static const std::string Y_AXIS_NAME;
77 
78  static const std::string Y_AXIS_UNIT;
79 
81 
83 
85 
87 
89 
90  std::string GetModelDisplayName() const override;
91 
92  std::string GetModelType() const override;
93 
95 
96  std::string GetXName() const override;
97 
98  std::string GetXAxisName() const override;
99 
100  std::string GetXAxisUnit() const override;
101 
102  std::string GetYAxisName() const override;
103 
104  std::string GetYAxisUnit() const override;
105 
106 
107  protected:
110 
115  itk::LightObject::Pointer InternalClone() const override;
116 
117  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
118 
120  const StaticParameterValuesType& values) override;
122 
123  private:
124 
125  //No copy constructor allowed
126  ExponentialSaturationModel(const Self& source);
127  void operator=(const Self&); //purposely not implemented
128 
129  };
130 }
131 
132 #endif
#define MITKMODELFIT_EXPORT
This generic model has the form: if x<onset: y(x) = baseline , else: y(x) = baseline + (y_final-basel...
std::string GetXAxisUnit() const override
ParameterNamesType GetStaticParameterNames() const override
std::string GetXName() const override
std::string GetModelType() const override
static const unsigned int NUMBER_OF_STATIC_PARAMETERS
std::string GetXAxisName() const override
ParameterNamesType GetParameterNames() const override
ParamterUnitMapType GetParameterUnits() const override
std::string GetYAxisUnit() const override
std::string GetModelDisplayName() const override
void SetStaticParameter(const ParameterNameType &name, const StaticParameterValuesType &values) override
Superclass::ParameterNameType ParameterNameType
static const unsigned int POSITION_PARAMETER_y_fin
itk::LightObject::Pointer InternalClone() const override
FunctionStringType GetFunctionString() const override
ParametersSizeType GetNumberOfParameters() const override
itk::SmartPointer< const Self > ConstPointer
StaticParameterValuesType GetStaticParameterValue(const ParameterNameType &name) const override
std::string GetYAxisName() const override
ModelResultType ComputeModelfunction(const ParametersType &parameters) const override
ParametersSizeType GetNumberOfStaticParameters() const override
Superclass::ParametersSizeType ParametersSizeType
Base class for (dynamic) models. A model can be used to calculate its signal given the discrete time ...
Definition: mitkModelBase.h:48
ModelTraitsInterface::ParametersSizeType ParametersSizeType
Definition: mitkModelBase.h:65
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:64
std::vector< StaticParameterValueType > StaticParameterValuesType
Definition: mitkModelBase.h:71
ModelTraitsInterface::ParameterNameType ParameterNameType
Definition: mitkModelBase.h:63
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:55
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:59
std::map< ParameterNameType, std::string > ParamterUnitMapType
Find image slices visible on a given plane.