From d343a58580540d3cda46040f073416e0e0944470 Mon Sep 17 00:00:00 2001 From: stalin18 Date: Mon, 19 Sep 2016 00:12:19 +0530 Subject: [PATCH] removed unnecessary line --- modules/photo/src/seamless_cloning.cpp | 2 -- 1 file changed, 2 deletions(-) diff --git a/modules/photo/src/seamless_cloning.cpp b/modules/photo/src/seamless_cloning.cpp index 3e18c7cb08..60f5380dae 100644 --- a/modules/photo/src/seamless_cloning.cpp +++ b/modules/photo/src/seamless_cloning.cpp @@ -86,8 +86,6 @@ void cv::seamlessClone(InputArray _src, InputArray _dst, InputArray _mask, Point int lenx = maxx - minx; int leny = maxy - miny; - Mat patch = Mat::zeros(Size(leny, lenx), CV_8UC3); - int minxd = p.y - lenx/2; int maxxd = p.y + lenx/2; int minyd = p.x - leny/2;