changeset 2798:5c83e5cf9d79

fix decoding of MONOCHROME1 & MONOCHROME2 images
author am@osimis.io
date Tue, 21 Aug 2018 10:42:16 +0200
parents 9a0c6a046cc2
children 6e3a60b85da6
files Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
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;