Medical Imaging Interaction Toolkit  2018.4.99-12ad79a3
Medical Imaging Interaction Toolkit
mitkPAPropertyCalculator.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 MITKPHOTOACOUSTICPROPERTYCALCULATOR_H
14 #define MITKPHOTOACOUSTICPROPERTYCALCULATOR_H
15 
17 
18 //Includes for smart pointer usage
19 #include "mitkCommon.h"
20 #include "itkLightObject.h"
21 
22 namespace mitk {
23  namespace pa {
24  class MITKPHOTOACOUSTICSLIB_EXPORT PropertyCalculator : public itk::LightObject
25  {
26  public:
27 
29  itkFactorylessNewMacro(Self)
30 
31  struct Properties
32  {
33  double mua;
34  double mus;
35  double g;
36  };
37 
39  {
40  AIR = 1,
41  BLOOD = 2,
42  EPIDERMIS = 3,
43  FAT = 4,
44  STANDARD_TISSUE = 5
45  };
46 
48  {
49  OXYGENATED = 1,
50  DEOXYGENATED = 2,
51  WATER = 3,
52  FATTY = 4,
53  MELANIN = 5,
54  ONEENDMEMBER = 6
55  };
56 
57  double GetAbsorptionForWavelength(
58  ChromophoreType chromophoreType, int wavelength);
59 
60  Properties CalculatePropertyForSpecificWavelength(
61  TissueType tissueType, int wavelength, double oxygenSaturatonInFraction = 0);
62 
63  protected:
65  ~PropertyCalculator() override;
66 
67  bool m_Valid = false;
68 
69  std::map<int, std::map<int, double>> m_SpectralLibMap;
70 
71  };
72  }
73 }
74 
75 #endif // MITKPHOTOACOUSTICPROPERTYCALCULATOR_H
DataCollection - Class to facilitate loading/accessing structured data.
#define mitkClassMacroItkParent(className, SuperClassName)
Definition: mitkCommon.h:49
std::map< int, std::map< int, double > > m_SpectralLibMap
#define MITKPHOTOACOUSTICSLIB_EXPORT