diff Framework/Inputs/DicomPyramidInstance.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/DicomPyramidInstance.h	Fri Oct 18 08:48:53 2024 +0200
+++ b/Framework/Inputs/DicomPyramidInstance.h	Fri Oct 18 13:08:55 2024 +0200
@@ -47,6 +47,10 @@
     std::vector<FrameLocation>          frames_;
     Orthanc::PhotometricInterpretation  photometric_;
     std::string                         imageType_;
+    bool                                hasBackgroundColor_;
+    uint8_t                             backgroundRed_;
+    uint8_t                             backgroundGreen_;
+    uint8_t                             backgroundBlue_;
 
     void Load(OrthancStone::IOrthancConnection&  orthanc,
               const std::string& instanceId);
@@ -110,5 +114,16 @@
     unsigned int GetFrameLocationY(size_t frame) const;
 
     void Serialize(std::string& result) const;
+
+    bool HasBackgroundColor() const
+    {
+      return hasBackgroundColor_;
+    }
+
+    uint8_t GetBackgroundRed() const;
+
+    uint8_t GetBackgroundGreen() const;
+
+    uint8_t GetBackgroundBlue() const;
   };
 }