diff OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp @ 4065:d6362b2c4b61 framework

export dcmdata in shared library, rounding in convolution tests
author Sebastien Jodogne <s.jodogne@gmail.com>
date Thu, 11 Jun 2020 18:04:28 +0200
parents 9214e3a7b0a2
children a4f28efdfccf
line wrap: on
line diff
--- a/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Thu Jun 11 16:40:34 2020 +0200
+++ b/OrthancServer/Sources/OrthancRestApi/OrthancRestResources.cpp	Thu Jun 11 18:04:28 2020 +0200
@@ -860,7 +860,7 @@
                 (targetWidth < decoded->GetWidth() ||
                  targetHeight < decoded->GetHeight()))
             {
-              ImageProcessing::SmoothGaussian5x5(*decoded);
+              ImageProcessing::SmoothGaussian5x5(*decoded, false /* be fast, don't round */);
             }
             
             ImageProcessing::Resize(*resized, *decoded);
@@ -906,7 +906,7 @@
                 (targetWidth < decoded->GetWidth() ||
                  targetHeight < decoded->GetHeight()))
             {
-              ImageProcessing::SmoothGaussian5x5(*rescaled);
+              ImageProcessing::SmoothGaussian5x5(*rescaled, false /* be fast, don't round */);
             }
             
             ImageProcessing::Resize(*resized, *rescaled);