diff Core/Images/ImageProcessing.cpp @ 3504:18566f9e1831

unit testing new functions in ImageProcessing
author Sebastien Jodogne <s.jodogne@gmail.com>
date Tue, 27 Aug 2019 14:26:04 +0200
parents 46cf170ba121
children b2d4dd16dae8
line wrap: on
line diff
--- a/Core/Images/ImageProcessing.cpp	Tue Aug 27 12:10:13 2019 +0200
+++ b/Core/Images/ImageProcessing.cpp	Tue Aug 27 14:26:04 2019 +0200
@@ -1907,7 +1907,7 @@
     {
       for (unsigned int k = 0; k < vertical.size(); k++)
       {
-        if (y < verticalAnchor)
+        if (y + k < verticalAnchor)
         {
           rows[k] = reinterpret_cast<const float*>(tmp.GetConstRow(0));   // Use top border
         }