Mercurial > hg > orthanc-wsi
comparison Framework/Inputs/DicomPyramid.h @ 330:c42083d50ddf
Added support for DICOM tag "Recommended Absent Pixel CIELab" (0048,0015)
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 18 Oct 2024 13:08:55 +0200 |
parents | 0683312e21ba |
children |
comparison
equal
deleted
inserted
replaced
329:ae2d769215d2 | 330:c42083d50ddf |
---|---|
36 | 36 |
37 OrthancStone::IOrthancConnection& orthanc_; | 37 OrthancStone::IOrthancConnection& orthanc_; |
38 std::string seriesId_; | 38 std::string seriesId_; |
39 std::vector<DicomPyramidInstance*> instances_; | 39 std::vector<DicomPyramidInstance*> instances_; |
40 std::vector<DicomPyramidLevel*> levels_; | 40 std::vector<DicomPyramidLevel*> levels_; |
41 uint8_t backgroundRed_; | |
42 uint8_t backgroundGreen_; | |
43 uint8_t backgroundBlue_; | |
41 | 44 |
42 void Clear(); | 45 void Clear(); |
43 | 46 |
44 void RegisterInstances(const std::string& seriesId, | 47 void RegisterInstances(const std::string& seriesId, |
45 bool useCache); | 48 bool useCache); |
83 unsigned int tileY) ORTHANC_OVERRIDE; | 86 unsigned int tileY) ORTHANC_OVERRIDE; |
84 | 87 |
85 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE; | 88 virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE; |
86 | 89 |
87 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE; | 90 virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE; |
91 | |
92 uint8_t GetBackgroundRed() const | |
93 { | |
94 return backgroundRed_; | |
95 } | |
96 | |
97 uint8_t GetBackgroundGreen() const | |
98 { | |
99 return backgroundGreen_; | |
100 } | |
101 | |
102 uint8_t GetBackgroundBlue() const | |
103 { | |
104 return backgroundBlue_; | |
105 } | |
88 }; | 106 }; |
89 } | 107 } |