Mercurial > hg > orthanc-stone
changeset 178:6dafcdec4b87 wasm
fix
author | Sebastien Jodogne <s.jodogne@gmail.com> |
---|---|
date | Tue, 13 Mar 2018 17:03:51 +0100 |
parents | 83200c4d07ca |
children | db21c1810c89 |
files | Framework/Toolbox/MessagingToolbox.cpp Framework/Toolbox/OrthancSlicesLoader.cpp |
diffstat | 2 files changed, 2 insertions(+), 2 deletions(-) [+] |
line wrap: on
line diff
--- a/Framework/Toolbox/MessagingToolbox.cpp Fri Mar 09 12:32:01 2018 +0100 +++ b/Framework/Toolbox/MessagingToolbox.cpp Tue Mar 13 17:03:51 2018 +0100 @@ -386,7 +386,7 @@ float offset = static_cast<float>(stretchLow) / scaling; Orthanc::ImageProcessing::Convert(*image, *reader); - Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling); + Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling, true); #if 0 /*info.removeMember("PixelData");
--- a/Framework/Toolbox/OrthancSlicesLoader.cpp Fri Mar 09 12:32:01 2018 +0100 +++ b/Framework/Toolbox/OrthancSlicesLoader.cpp Tue Mar 13 17:03:51 2018 +0100 @@ -617,7 +617,7 @@ Orthanc::ImageProcessing::Convert(*image, *reader); reader.reset(NULL); - Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling); + Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling, true); NotifySliceImageSuccess(operation, image); }