Community
cancel
Showing results for 
Search instead for 
Did you mean: 
shrieks
Beginner
80 Views

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

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
80 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
Yuri_Tikhomirov__Int
New Contributor I
80 Views


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

Thanks,
Yuri
Reply