comparison 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
comparison
equal deleted inserted replaced
2797:9a0c6a046cc2 2798:5c83e5cf9d79
300 static void FixPhotometricInterpretation(OrthancImageWrapper& image, 300 static void FixPhotometricInterpretation(OrthancImageWrapper& image,
301 gdcm::PhotometricInterpretation interpretation) 301 gdcm::PhotometricInterpretation interpretation)
302 { 302 {
303 switch (interpretation) 303 switch (interpretation)
304 { 304 {
305 case gdcm::PhotometricInterpretation::MONOCHROME1:
306 case gdcm::PhotometricInterpretation::MONOCHROME2:
305 case gdcm::PhotometricInterpretation::RGB: 307 case gdcm::PhotometricInterpretation::RGB:
306 return; 308 return;
307 309
308 case gdcm::PhotometricInterpretation::YBR_FULL: 310 case gdcm::PhotometricInterpretation::YBR_FULL:
309 { 311 {