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