From 2256f42b25d6f8800ee587664178aae0c9713789 Mon Sep 17 00:00:00 2001 From: Scott Klum Date: Thu, 2 May 2019 17:50:56 -0600 Subject: [PATCH] Pad bug fix --- openbr/plugins/imgproc/pad.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/openbr/plugins/imgproc/pad.cpp b/openbr/plugins/imgproc/pad.cpp index 3ee7271..46e7a9e 100644 --- a/openbr/plugins/imgproc/pad.cpp +++ b/openbr/plugins/imgproc/pad.cpp @@ -36,7 +36,7 @@ private: int top, bottom, left, right; top = percent*src.m().rows; bottom = percent*src.m().rows; left = percent*src.m().cols; right = percent*src.m().cols; - OpenCVUtils::pad(src, dst, true, QMargins(top,bottom,left,right), true, true, border, value); + OpenCVUtils::pad(src, dst, true, QMargins(left, top, right, bottom), true, true, border, value); } }; -- libgit2 0.21.4