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

Why ippiResizeSqrPixel functions are deprecated?

tsangel
Beginner
1,550 Views

Hello,

During migrating my codes from IPP7 into IPP8, I found that ippiResizeSqrPixel functions are deprecated.

I use them to resize medical data. Fine control of zoom factor and shift is crucial because we need them to overlay multiple medical images at exact position.

However, new ippiResize* functions don't take zoom factor / shift argument any more.

Only substitute for ippiResizeSqrPixel seem to be ippiWarpAffine function, but ippiWarpAffine is too slow compared with ippiResizeSqrPixel.

Is there any other way to resize image with  zoom factor / shift?

Thank you!

0 Kudos
8 Replies
giacomo_c_
Beginner
1,550 Views

Hello,

I've exactly the same problem. I need to resize an image and I need to specify zoom factor and shift.

I can't specify implicitly zoom factor by input and output roi size. ippiResizeSqrPixel  is the right solution

for my problem. Would  be nice if this function will not be deprecated.

Thank's

 

0 Kudos
Thomas_Jensen1
Beginner
1,550 Views

It is only this particular function declaration that has been marked as depreciated.

Its interpolation parameter has been removed and a new collection of function declarations has been added, each implementing one interpolation type.

0 Kudos
giacomo_c_
Beginner
1,550 Views

Hello Thomas,

It isn't only a problem of function declaration. The new ippiResizeXXX family has an interface like this :

IppStatus ippiResizeLinear_<mod>(const Ipp<datatype>* pSrc, Ipp32s srcStep, Ipp<datatype>* pDst, Ipp32s dstStep, IppiPoint dstOffset, IppiSize dstSize, IppiBorderType border, Ipp<datatype>* borderValue, IppiResizeSpec_32f* pSpec, Ipp8u*pBuffer);

where zoom factor and shift are not present. Zoom factor is specified by source and destination size.

This is the problem.

Thank's

Giacomo

0 Kudos
Thomas_Jensen1
Beginner
1,550 Views

I understand that if you need sub-pixel precision, the new function types won't make it. I'm just a user like you, so I guess Intel should step in and clarify the situation...

0 Kudos
Valentin_K_Intel
Employee
1,550 Views

Hi,

Please use this link http://software.intel.com/sites/products/ipp-deprecated-features-feedback/index.php to leave a feedback about the deprecated functionality.

Best regards, Valentin

0 Kudos
Valentin_K_Intel
Employee
1,550 Views

Hi,

Thank you for your feedbacks about ResizeSqrPixel and WarpAffine performance. We are working on warp functions to reach better performance. Please wait updates of warp functionality in future IPP versions.

Best regards, Valentin

0 Kudos
tsangel
Beginner
1,550 Views

Hello Valentin,

Glad to hear that you are working on warp functions.

; I hope warp function is as fast as ResizeSqrPixel; at this time, WarpAffine is 10x slower than ResizeSqrPixel.

It would be better that new resize functions take arguments for zoom and shift in sub pixel accuracy.

Thank you!

0 Kudos
GK22
Beginner
1,105 Views

Any updates on this issue? We are attempting to modernize our use of IPP to the newer oneApi. Apparently, this function is now not just deprecated but is no longer available.

This site https://www.intel.com/content/www/us/en/developer/articles/tool/intel-ipp-legacy-libraries.html gives instructions for downloading and using a legacy library, but the links do not work because they are insecure.

I can't find any resources for how to workaround this issue. 

Help!

0 Kudos
Reply