Medical Imaging Interaction Toolkit  2026.06.00
Medical Imaging Interaction Toolkit
mitkTwoTissueCompartmentModel.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 mitkTwoTissueCompartmentModel_h
14 #define mitkTwoTissueCompartmentModel_h
15 
16 #include <mitkAIFBasedModelBase.h>
18 
19 
20 namespace mitk
21 {
31  {
32 
33  public:
38 
40  itkFactorylessNewMacro(Self);
41  itkCloneMacro(Self);
42 
45 
48  static const std::string NAME_PARAMETER_K1;
49  static const std::string NAME_PARAMETER_k2;
50  static const std::string NAME_PARAMETER_k3;
51  static const std::string NAME_PARAMETER_k4;
52  static const std::string NAME_PARAMETER_vb;
53 
54  static const std::string UNIT_PARAMETER_K1;
55  static const std::string UNIT_PARAMETER_k2;
56  static const std::string UNIT_PARAMETER_k3;
57  static const std::string UNIT_PARAMETER_k4;
58  static const std::string UNIT_PARAMETER_vb;
59 
60  static const unsigned int POSITION_PARAMETER_K1;
61  static const unsigned int POSITION_PARAMETER_k2;
62  static const unsigned int POSITION_PARAMETER_k3;
63  static const unsigned int POSITION_PARAMETER_k4;
64  static const unsigned int POSITION_PARAMETER_vb;
65 
66  static const unsigned int NUMBER_OF_PARAMETERS;
67 
68  static const std::string MODEL_DISPLAY_NAME;
69 
70  static const std::string MODEL_TYPE;
71 
72  std::string GetModelDisplayName() const override;
73 
74  std::string GetModelType() const override;
75 
78 
80 
81  protected:
84 
86 
88 
89  ModelResultType ComputeModelfunction(const ParametersType& parameters) const override;
90 
91  void PrintSelf(std::ostream& os, ::itk::Indent indent) const override;
92 
93  private:
94 
95  void operator=(const Self&); //purposely not implemented
96 
97  };
98 }
99 
100 #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
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 reversible two-tissue compartment model for PET pharmacokinetics.
static const unsigned int POSITION_PARAMETER_vb
void PrintSelf(std::ostream &os, ::itk::Indent indent) const override
ParamterUnitMapType GetParameterUnits() const override
Default implementation returns no unit string ("") for every defined parameter.
std::string GetModelType() const override
Default implementation returns "Unknown" as model type.
ParameterNamesType GetParameterNames() const override
Returns the names of parameters that must be defined when using the model to compute the signal (GetS...
static const unsigned int NUMBER_OF_PARAMETERS
mitkCloneMacro(TwoTissueCompartmentModel)
static const unsigned int POSITION_PARAMETER_k4
static const unsigned int POSITION_PARAMETER_K1
static const unsigned int POSITION_PARAMETER_k3
ModelResultType ComputeModelfunction(const ParametersType &parameters) const override
Computes the model function for the given parameters.
std::string GetModelDisplayName() const override
Default implementation returns GetClassID as display name.
itk::SmartPointer< const Self > ConstPointer
static const unsigned int POSITION_PARAMETER_k2
TwoTissueCompartmentModel(const TwoTissueCompartmentModel &source)
ParametersSizeType GetNumberOfParameters() const override
Returns the number of parameters that must be defined when using the model to compute the signal (Get...
Find image slices visible on a given plane.