diff Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp @ 2798:5c83e5cf9d79

fix decoding of MONOCHROME1 & MONOCHROME2 images
author am@osimis.io
date Tue, 21 Aug 2018 10:42:16 +0200
parents a5196a7d98c6
children 4e43e67f8ecf
line wrap: on
line diff
--- a/Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp	Thu Aug 16 10:39:30 2018 +0200
+++ b/Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp	Tue Aug 21 10:42:16 2018 +0200
@@ -302,6 +302,8 @@
   {
     switch (interpretation)
     {
+      case gdcm::PhotometricInterpretation::MONOCHROME1:
+      case gdcm::PhotometricInterpretation::MONOCHROME2:
       case gdcm::PhotometricInterpretation::RGB:
         return;