changeset 358:09b6511e84f4

note
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Aug 2019 15:53:55 +0200
parents ce9e8f6b4dff
children 105598b74e1a
files Plugin/WadoRsRetrieveRendered.cpp
diffstat 1 files changed, 2 insertions(+), 0 deletions(-) [+]
line wrap: on
line diff
--- 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<unsigned int>(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() &&