Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkStandardToftsModel.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 mitkStandardToftsModel_h
14 #define mitkStandardToftsModel_h
15 
16 #include <mitkAIFBasedModelBase.h>
18 
19 namespace mitk
20 {
36  {
37 
38  public:
43 
45  itkFactorylessNewMacro(Self);
46  itkCloneMacro(Self);
47 
49  itkTypeMacro(StandardToftsModel, ModelBase);
50 
51  static const std::string NAME_PARAMETER_Ktrans;
52  static const std::string NAME_PARAMETER_ve;
53 
54  static const std::string UNIT_PARAMETER_Ktrans;
55  static const std::string UNIT_PARAMETER_ve;
56 
57  static const unsigned int POSITION_PARAMETER_Ktrans;
58  static const unsigned int POSITION_PARAMETER_ve;
59 
60  static const unsigned int NUMBER_OF_PARAMETERS;
61 
62  static const std::string NAME_DERIVED_PARAMETER_kep;
63 
64  static const unsigned int NUMBER_OF_DERIVED_PARAMETERS;
65 
66  static const std::string UNIT_DERIVED_PARAMETER_kep;
67 
68  static const std::string MODEL_DISPLAY_NAME;
69 
70  static const std::string MODEL_TYPE;
71 
72 
73 
74  std::string GetModelDisplayName() const override;
75 
76  std::string GetModelType() const override;
77 
80 
82 
84 
86 
88 
89  protected:
91  ~StandardToftsModel() override;
92 
94 
96 
97  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
98 
100  parameters) const override;
101 
102 
103  void PrintSelf(std::ostream& os, ::itk::Indent indent) const override;
104 
105  private:
106 
107  void operator=(const Self&); //purposely not implemented
108 
109 
110 
111 
112  };
113 }
114 
115 #endif
#define MITKPHARMACOKINETICS_EXPORT
Base class for all pharmacokinetic perfusion models that use an Arterial Input Function (AIF).
Base class for (dynamic) models.
Definition: mitkModelBase.h:56
ModelTraitsInterface::ParametersSizeType ParametersSizeType
Definition: mitkModelBase.h:73
ModelTraitsInterface::ParameterNamesType ParameterNamesType
Definition: mitkModelBase.h:72
std::map< ParameterNameType, DerivedParameterValueType > DerivedParameterMapType
Definition: mitkModelBase.h:83
ModelTraitsInterface::ModelResultType ModelResultType
Definition: mitkModelBase.h:63
ModelTraitsInterface::ParametersType ParametersType
Definition: mitkModelBase.h:67
std::map< ParameterNameType, std::string > ParamterUnitMapType
Map type associating parameter names to their unit strings.
Implementation of the Standard Tofts pharmacokinetic model using an Arterial Input Function.
ParamterUnitMapType GetDerivedParameterUnits() const override
Default implementation returns no unit string ("") for every defined derived parameter.
StandardToftsModel(const StandardToftsModel &source)
static const std::string MODEL_DISPLAY_NAME
std::string GetModelDisplayName() const override
Default implementation returns GetClassID as display name.
static const std::string NAME_PARAMETER_ve
DerivedParameterMapType ComputeDerivedParameters(const mitk::ModelBase::ParametersType &parameters) const override
Computes derived parameters from the given model parameters.
static const std::string UNIT_PARAMETER_ve
~StandardToftsModel() override
static const unsigned int NUMBER_OF_PARAMETERS
static const std::string NAME_DERIVED_PARAMETER_kep
ParametersSizeType GetNumberOfDerivedParameters() const override
Returns the number of derived parameters that can be computed by the model.
static const std::string UNIT_PARAMETER_Ktrans
static const unsigned int POSITION_PARAMETER_ve
mitkCloneMacro(StandardToftsModel)
ParametersSizeType GetNumberOfParameters() const override
Returns the number of parameters that must be defined when using the model to compute the signal (Get...
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
ParameterNamesType GetParameterNames() const override
Returns the names of parameters that must be defined when using the model to compute the signal (GetS...
itk::SmartPointer< const Self > ConstPointer
itk::SmartPointer< Self > Pointer
std::string GetModelType() const override
Default implementation returns "Unknown" as model type.
static const unsigned int NUMBER_OF_DERIVED_PARAMETERS
static const unsigned int POSITION_PARAMETER_Ktrans
static const std::string NAME_PARAMETER_Ktrans
ParameterNamesType GetDerivedParameterNames() const override
Returns the names of derived parameters that can be computed by the model.
static const std::string MODEL_TYPE
static const std::string UNIT_DERIVED_PARAMETER_kep
ModelResultType ComputeModelfunction(const ParametersType &parameters) const override
Computes the model function for the given parameters.
ParamterUnitMapType GetParameterUnits() const override
Default implementation returns no unit string ("") for every defined parameter.
Find image slices visible on a given plane.