Update imgwarp.cpp
github editor does not show white space and inserts one for you ... great combination
This commit is contained in:
@@ -3257,7 +3257,7 @@ void cv::resize( InputArray _src, OutputArray _dst, Size dsize,
|
|||||||
Mat src = _src.getMat();
|
Mat src = _src.getMat();
|
||||||
_dst.create(dsize, src.type());
|
_dst.create(dsize, src.type());
|
||||||
Mat dst = _dst.getMat();
|
Mat dst = _dst.getMat();
|
||||||
|
|
||||||
if (dsize == ssize) {
|
if (dsize == ssize) {
|
||||||
// Source and destination are of same size. Use simple copy.
|
// Source and destination are of same size. Use simple copy.
|
||||||
src.copyTo(dst);
|
src.copyTo(dst);
|
||||||
|
Reference in New Issue
Block a user