Community
cancel
Showing results for 
Search instead for 
Did you mean: 
Ken_Thornton
Beginner
123 Views

ipprResize (3D resizing) failures (test code attached)

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:

  1. For each output volume voxel, get the 3D coordinates p of the center of that voxel
  2. Determine corresponding 3D coordinates q in the input volume
  3. 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.

 

 

0 Kudos
3 Replies
ShanmukhS_Intel
Moderator
85 Views

Hi, 

 

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. 

 

Best Regards,

Shanmukh.SS

Ken_Thornton
Beginner
73 Views

I just installed 2021.3.0 and re-ran the test and got the same results.

Below is the library version information.

Please look at my test code and see if you can replicate the problems.

Thanks,

Ken Thornton

 

version.JPG

Gennady_F_Intel
Moderator
63 Views

Yes, We confirmed the case and will start investigating the problem. This thread will be updated.


Reply