1
0
mirror of https://github.com/opencv/opencv.git synced 2026-07-31 08:13:04 +04:00

Merge pull request #16497 from keeper121:master

* Fix NN resize with dimentions > 4

* add test check for nn resize with channels > 4

* Change types from float to double

* Del unnecessary test file. Move nn test to test_imgwarp. Add 5 channels test only.
This commit is contained in:
keeper121
2020-02-16 19:33:25 +03:00
committed by GitHub
parent f81fdd58da
commit d84360e7f3
2 changed files with 16 additions and 1 deletions
+1 -1
View File
@@ -1045,7 +1045,7 @@ public:
{
const int* _tS = (const int*)(S + x_ofs[x]);
int* _tD = (int*)D;
for( int k = 0; k < pix_size4; k++ )
for( int k = 0; k <= pix_size4; k++ )
_tD[k] = _tS[k];
}
}