Mercurial > hg > orthanc
diff Core/DicomFormat/DicomImageInformation.cpp @ 2838:f3a2d109e361
new orthanc framework
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Fri, 21 Sep 2018 15:48:40 +0200 |
parents | 878b59270859 |
children | 716dd24974ef |
line wrap: on
line diff
--- a/Core/DicomFormat/DicomImageInformation.cpp Thu Sep 20 16:18:00 2018 +0200 +++ b/Core/DicomFormat/DicomImageInformation.cpp Fri Sep 21 15:48:40 2018 +0200 @@ -253,6 +253,12 @@ format = PixelFormat_SignedGrayscale16; return true; } + + if (GetBitsAllocated() == 32 && GetChannelCount() == 1 && !IsSigned()) + { + format = PixelFormat_Grayscale32; + return true; + } } if (GetBitsStored() == 8 &&