I am running 2020.0.2 IPP in 32-bit mode on 64-bit Windows 10 Enterprise (10.0.19042).
I have been using ipprResize to resize a (dimIn x dimIn x dimIn) input volume to size (dimOut x dimOut x dimOut). I have been testing all combinations of sizes 2 <= dimIn, dimOut <= 50 where dimIn != dimOut.
Out of 2352 tests, I get 186 failures. A failure means that an Intel interpolated voxel value differs by more than 2 from what I think it should be.
I assume that ipprResize works as follows:
- For each output volume voxel, get the 3D coordinates p of the center of that voxel
- Determine corresponding 3D coordinates q in the input volume
- Do a trilinear interpolation at q in the input volume and assign that value to the output voxel
I have attached files ToIntel.h / ToIntel.cpp to replicate my test and ipprResize_failures.txt which give my results.
Thanks for reaching out to us.
We would like to recommend you to try executing the code in latest version of oneAPI(2021.3) and get back to us if issue persists.