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

fix
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 13 Mar 2018 17:03:51 +0100
parents e2fe9352f240
children fccffbf99ba1
comparison
equal deleted inserted replaced
177:83200c4d07ca 178:6dafcdec4b87
384 384
385 float scaling = static_cast<float>(stretchHigh - stretchLow) / 255.0f; 385 float scaling = static_cast<float>(stretchHigh - stretchLow) / 255.0f;
386 float offset = static_cast<float>(stretchLow) / scaling; 386 float offset = static_cast<float>(stretchLow) / scaling;
387 387
388 Orthanc::ImageProcessing::Convert(*image, *reader); 388 Orthanc::ImageProcessing::Convert(*image, *reader);
389 Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling); 389 Orthanc::ImageProcessing::ShiftScale(*image, offset, scaling, true);
390 390
391 #if 0 391 #if 0
392 /*info.removeMember("PixelData"); 392 /*info.removeMember("PixelData");
393 std::cout << info.toStyledString();*/ 393 std::cout << info.toStyledString();*/
394 394