Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.

ippiResize_8u_C1R() from IPP 9.x to Latest

Madhusudhan
Beginner
425 Views

I am planning to port a code, which uses ippiResize_8u_C1R() from IPP V9.x to latest IPP 2024.12.

The above resize were used with NN, Linear and Cubic interpolation. When i searched for the new library version, the same  ippiResize_<Mod>() is available for volume resize and found all the interpolation is available as separate API(ippiResizeLinear_<mod> / ippiResizeCubic_<mod>).

 

In IPP9.x, If i understand correctly, the resize() and resizeLinear() works different, where the former  interpolate between distance and later with square pixel. Is this same in new version as well? Can someone help to chose the right API/method to be used in new version for ippiResize_8u_C1R()  

 

Thanks.

 

0 Kudos
2 Replies
Ruqiu_C_Intel
Moderator
360 Views

Hi Madhusudhan,


The removed functions, and the substitution or workaround can be found here:https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-12/ipp-ref-removed-functions.html


Most functions performing geometric transform of an image use an interpolation algorithm to resample the image. The type of interpolation method to be used is passed to the function in the interpolation parameter for rotate, warp, and remap. For resize transform, the interpolation type is part of the function name.


The following interpolation algorithms are used:

  • nearest neighbor
  • linear interpolation
  • cubic convolution
  • supersampling
  • interpolation using Lanczos window function
  • interpolation with two-parameter cubic filters
  • optional edge smoothing of the destination image.


All the interpolation algorithms, please refer to Doc here: https://www.intel.com/content/www/us/en/docs/ipp/developer-guide-reference/2021-12/ipp-ref-interpolation-in-image-geometry-transform.html


Regards,

Ruqiu


0 Kudos
Ruqiu_C_Intel
Moderator
287 Views

Thank you for reaching us. This issue is closing and we will no longer respond to this thread. If you require additional assistance from Intel, please start a new thread.


0 Kudos
Reply