# HG changeset patch # User am@osimis.io # Date 1534840936 -7200 # Node ID 5c83e5cf9d7988344ce0399d1206beeaccdf60f0 # Parent 9a0c6a046cc2f7d7d9abf331f2975a5e47bb3f3b fix decoding of MONOCHROME1 & MONOCHROME2 images diff -r 9a0c6a046cc2 -r 5c83e5cf9d79 Plugins/Samples/GdcmDecoder/GdcmImageDecoder.cpp --- 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;