diff 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
line wrap: on
line diff
--- a/Framework/Inputs/DicomPyramid.h	Fri Oct 18 08:48:53 2024 +0200
+++ b/Framework/Inputs/DicomPyramid.h	Fri Oct 18 13:08:55 2024 +0200
@@ -38,6 +38,9 @@
     std::string                         seriesId_;
     std::vector<DicomPyramidInstance*>  instances_;
     std::vector<DicomPyramidLevel*>     levels_;
+    uint8_t                             backgroundRed_;
+    uint8_t                             backgroundGreen_;
+    uint8_t                             backgroundBlue_;
 
     void Clear();
 
@@ -85,5 +88,20 @@
     virtual Orthanc::PixelFormat GetPixelFormat() const ORTHANC_OVERRIDE;
 
     virtual Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const ORTHANC_OVERRIDE;
+
+    uint8_t GetBackgroundRed() const
+    {
+      return backgroundRed_;
+    }
+
+    uint8_t GetBackgroundGreen() const
+    {
+      return backgroundGreen_;
+    }
+
+    uint8_t GetBackgroundBlue() const
+    {
+      return backgroundBlue_;
+    }
   };
 }