Mercurial > hg > orthanc
diff Core/DicomParsing/Internals/DicomImageDecoder.cpp @ 2488:345725b9350c
back to rounding to fix integration tests
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Mar 2018 17:02:30 +0100 |
parents | 878b59270859 |
children | 52217dc47a4e |
line wrap: on
line diff
--- a/Core/DicomParsing/Internals/DicomImageDecoder.cpp Tue Mar 13 16:29:20 2018 +0100 +++ b/Core/DicomParsing/Internals/DicomImageDecoder.cpp Tue Mar 13 17:02:30 2018 +0100 @@ -881,7 +881,8 @@ else { ImageProcessing::ShiftScale(*image, static_cast<float>(-a), - 255.0f / static_cast<float>(b - a)); + 255.0f / static_cast<float>(b - a), + true /* TODO - Consider using "false" to speed up */); } // If the source image is not grayscale 8bpp, convert it