mirror of
https://github.com/opencv/opencv.git
synced 2025-06-07 17:44:04 +08:00
Merge pull request #19836 from 103yiran:warpaffine
This commit is contained in:
commit
19a936fc03
@ -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…
Reference in New Issue
Block a user