Medical Imaging Interaction Toolkit  2022.04.99-194dd5d8
Medical Imaging Interaction Toolkit
mitkDescriptivePharmacokineticBrixModelValueBasedParameterizer.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 __DESCRIPTIVEPHARMACOKINETICBRIXMODEL_VALUEBASED_PARAMETERIZER_H
14 #define __DESCRIPTIVEPHARMACOKINETICBRIXMODEL_VALUEBASED_PARAMETERIZER_H
15 
17 
18 namespace mitk
19 {
25  ConcreteModelParameterizerBase<mitk::DescriptivePharmacokineticBrixModel>
26  {
27  public:
32 
34  itkNewMacro(Self);
35 
36  typedef Superclass::ModelBaseType ModelBaseType;
37  typedef Superclass::ModelBasePointer ModelBasePointer;
38 
39  typedef Superclass::ModelType ModelType;
40  typedef Superclass::ModelPointer ModelPointer;
41 
42  typedef Superclass::StaticParameterValueType StaticParameterValueType;
43  typedef Superclass::StaticParameterValuesType StaticParameterValuesType;
44  typedef Superclass::StaticParameterMapType StaticParameterMapType;
45 
46  typedef itk::Image<double, 3> BaseImageType;
47 
48  typedef Superclass::IndexType IndexType;
49 
50  itkSetMacro(Tau, double);
51  itkGetConstReferenceMacro(Tau, double);
52 
53  itkSetMacro(BaseValue, double);
54  itkGetConstReferenceMacro(BaseValue, double);
55 
56  /* Returns the global static parameters for the model.
57  * @remark this default implementation assumes no global static parameters exist.
58  * Thus an empty map is returned.*/
59  StaticParameterMapType GetGlobalStaticParameters() const override;
60 
61  /* Returns the local static parameters for the model at the given index.
62  * @remark this default implementation assumes no local static parameters exist.
63  * Thus an empty map is returned.*/
64  StaticParameterMapType GetLocalStaticParameters(const IndexType& currentPosition) const override;
65 
68  ParametersType GetDefaultInitialParameterization() const override;
69 
70  protected:
71 
73 
75 
77  double m_Tau;
78 
80  double m_BaseValue;
81 
82  private:
83 
84  //No copy constructor allowed
86  void operator=(const Self&); //purposely not implemented
87  };
88 }
89 
90 #endif // __DESCRIPTIVEPHARMACOKINETICBRIXMODEL_VALUEBASED_PARAMETERIZER_H
#define MITKPHARMACOKINETICS_EXPORT
DataCollection - Class to facilitate loading/accessing structured data.
ConcreteModelParameterizerBase< mitk::DescriptivePharmacokineticBrixModel > Superclass
ModelBaseType::ParametersType ParametersType