From 2f0a598ac8a11a39a5665440237f3c909f6808b7 Mon Sep 17 00:00:00 2001 From: grundman Date: Mon, 7 Dec 2015 11:48:45 -0800 Subject: [PATCH] Update imgwarp.cpp github editor does not show white space and inserts one for you ... great combination --- modules/imgproc/src/imgwarp.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/modules/imgproc/src/imgwarp.cpp b/modules/imgproc/src/imgwarp.cpp index b6b5f085ec..5822726eee 100644 --- a/modules/imgproc/src/imgwarp.cpp +++ b/modules/imgproc/src/imgwarp.cpp @@ -3257,7 +3257,7 @@ void cv::resize( InputArray _src, OutputArray _dst, Size dsize, Mat src = _src.getMat(); _dst.create(dsize, src.type()); Mat dst = _dst.getMat(); - + if (dsize == ssize) { // Source and destination are of same size. Use simple copy. src.copyTo(dst);