# HG changeset patch # User Sebastien Jodogne # Date 1566914035 -7200 # Node ID 09b6511e84f49f3c6b670353ac64e56b73f350f8 # Parent ce9e8f6b4dfff9476eb6195cd65b39ca75e015b6 note diff -r ce9e8f6b4dff -r 09b6511e84f4 Plugin/WadoRsRetrieveRendered.cpp --- a/Plugin/WadoRsRetrieveRendered.cpp Tue Aug 27 15:49:11 2019 +0200 +++ b/Plugin/WadoRsRetrieveRendered.cpp Tue Aug 27 15:53:55 2019 +0200 @@ -616,6 +616,7 @@ switch (target.GetFormat()) { case Orthanc::PixelFormat_RGB24: + // Windowing is not taken into consideration for color images Orthanc::ImageProcessing::Convert(scaled, region); break; @@ -671,6 +672,7 @@ unsigned int sh = std::min(static_cast(boost::math::iround(ch * r)), target.GetHeight()); Orthanc::Image resized(target.GetFormat(), sw, sh, false); + //Orthanc::ImageProcessing::SmoothGaussian5x5(scaled); Orthanc::ImageProcessing::Resize(resized, scaled); assert(target.GetWidth() >= resized.GetWidth() &&