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

IPP ResizeSqrPixel function - Data misplaced for image having negative pixel values

shrieks
Beginner
289 Views
Hi,
I am using ippiResizeSqrPixel_16s_C1R function of IPP 5.3.1.064. It works fine for SIGNED SHORT values of pixel which has range from 0 to 234 but fails for -1024 to 3072. For this range the output image data is misplaced. Please confirm this function really supports signed short values of pixels?
Besides this, how any viewer manipulates negative values of pixels to display the image contents on UI/screen?

Thanks & Regards,
Shrikant
0 Kudos
2 Replies
Vladimir_Dudnik
Employee
289 Views
Hello,

Did you try the latest IPP 6.0 update 1?

BTW, viewer behaviour might be different, you may try to shift values (by adding half of data range value, so making the data as unsigned and then reduce bits upto 8)

Regards,
Vladimir
0 Kudos
Yuri_Tikhomirov__Int
New Contributor I
289 Views

Hello Shrikant,
Whatinterpolation mode do you use in your apllication?
How much is difference between computed andexpected result?

Thanks,
Yuri
0 Kudos
Reply