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:
@@ -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];
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user