comparison Framework/Toolbox/OrthancSlicesLoader.cpp @ 178:6dafcdec4b87 wasm

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Mar 2018 17:03:51 +0100
parents e2fe9352f240
children e9c7a78a3e77
comparison
equal deleted inserted replaced
177:83200c4d07ca 178:6dafcdec4b87
615 float offset = static_cast<float>(stretchLow) / scaling; 615 float offset = static_cast<float>(stretchLow) / scaling;
616 616
617 Orthanc::ImageProcessing::Convert(*image, *reader); 617 Orthanc::ImageProcessing::Convert(*image, *reader);
618 reader.reset(NULL); 618 reader.reset(NULL);
619 619
620 Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling); 620 Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling, true);
621 621
622 NotifySliceImageSuccess(operation, image); 622 NotifySliceImageSuccess(operation, image);
623 } 623 }
624 624
625 625