mirror of
https://github.com/opencv/opencv.git
synced 2025-07-26 07:07:37 +08:00
imgproc: revert resize changes from PR 16497
This commit is contained in:
parent
d84360e7f3
commit
3a546aa380
@ -1045,7 +1045,7 @@ public:
|
|||||||
{
|
{
|
||||||
const int* _tS = (const int*)(S + x_ofs[x]);
|
const int* _tS = (const int*)(S + x_ofs[x]);
|
||||||
int* _tD = (int*)D;
|
int* _tD = (int*)D;
|
||||||
for( int k = 0; k <= pix_size4; k++ )
|
for( int k = 0; k < pix_size4; k++ )
|
||||||
_tD[k] = _tS[k];
|
_tD[k] = _tS[k];
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -1721,7 +1721,7 @@ TEST(Resize, lanczos4_regression_16192)
|
|||||||
EXPECT_EQ(cvtest::norm(dst, expected, NORM_INF), 0) << dst(Rect(0,0,8,8));
|
EXPECT_EQ(cvtest::norm(dst, expected, NORM_INF), 0) << dst(Rect(0,0,8,8));
|
||||||
}
|
}
|
||||||
|
|
||||||
TEST(Resize, nearest_regression_15075)
|
TEST(Resize, DISABLED_nearest_regression_15075) // reverted https://github.com/opencv/opencv/pull/16497
|
||||||
{
|
{
|
||||||
const int C = 5;
|
const int C = 5;
|
||||||
const int i1 = 5, j1 = 5;
|
const int i1 = 5, j1 = 5;
|
||||||
|
Loading…
Reference in New Issue
Block a user