Merge pull request #19836 from 103yiran:warpaffine

pull/19874/head^2
Alexander Alekhin 4 years ago
commit 19a936fc03
  1. 4
      modules/imgproc/src/imgwarp.cpp

@ -2190,7 +2190,7 @@ public:
int bw = std::min( bw0, dst.cols - x);
int bh = std::min( bh0, range.end - y);
Mat _XY(bh, bw, CV_16SC2, XY), matA;
Mat _XY(bh, bw, CV_16SC2, XY);
Mat dpart(dst, Rect(x, y, bw, bh));
for( y1 = 0; y1 < bh; y1++ )
@ -2979,7 +2979,7 @@ public:
int bw = std::min( bw0, width - x);
int bh = std::min( bh0, range.end - y); // height
Mat _XY(bh, bw, CV_16SC2, XY), matA;
Mat _XY(bh, bw, CV_16SC2, XY);
Mat dpart(dst, Rect(x, y, bw, bh));
for( y1 = 0; y1 < bh; y1++ )

Loading…
Cancel
Save