diff Framework/Toolbox/DicomFrameConverter.h @ 328:c80b5bddf86b am-2

support of monochrome1
author Sebastien Jodogne <s.jodogne@gmail.com>
date Wed, 17 Oct 2018 10:26:33 +0200
parents 5412adf19980
children b3b3fa0e3689
line wrap: on
line diff
--- a/Framework/Toolbox/DicomFrameConverter.h	Tue Oct 16 15:25:21 2018 +0200
+++ b/Framework/Toolbox/DicomFrameConverter.h	Wed Oct 17 10:26:33 2018 +0200
@@ -45,8 +45,9 @@
     double  rescaleSlope_;
     double  defaultWindowCenter_;
     double  defaultWindowWidth_;
-
-    Orthanc::PixelFormat  expectedPixelFormat_;
+    
+    Orthanc::PhotometricInterpretation  photometric_;
+    Orthanc::PixelFormat                expectedPixelFormat_;
 
     void SetDefaultParameters();
 
@@ -61,6 +62,11 @@
       return expectedPixelFormat_;
     }
 
+    Orthanc::PhotometricInterpretation GetPhotometricInterpretation() const
+    {
+      return photometric_;
+    }
+
     void ReadParameters(const Orthanc::DicomMap& dicom);
 
     double GetDefaultWindowCenter() const