diff Framework/Inputs/SingleLevelDecodedPyramid.cpp @ 154:32a94bbb7d05

merge
author Sebastien Jodogne <s.jodogne@gmail.com>
date Mon, 08 Oct 2018 12:12:39 +0200
parents a0f9a3df1110
children 6b8ccfc02051
line wrap: on
line diff
--- a/Framework/Inputs/SingleLevelDecodedPyramid.cpp	Fri Jul 27 14:06:26 2018 +0200
+++ b/Framework/Inputs/SingleLevelDecodedPyramid.cpp	Mon Oct 08 12:12:39 2018 +0200
@@ -32,7 +32,8 @@
                                              unsigned int x,
                                              unsigned int y)
   {
-    Orthanc::ImageAccessor region = image_.GetRegion(x, y, target.GetWidth(), target.GetHeight());
+    Orthanc::ImageAccessor region;
+    image_.GetRegion(region, x, y, target.GetWidth(), target.GetHeight());
     ImageToolbox::Copy(target, region);
   }