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

Why there is no ippsThreshold function for Ipp16u?

Piali_D_
Beginner
222 Views

Hi,

We are trying to use IPP for image processing.

We have image data set which has 16bits allocated but 15bits stored.We resize & interpolate using: ippiResize_16u_C1R(). We then need to apply threshold to ensure that the range of the data within 15 bits. We tried to use ippsThreshold_LTValGTVal_16s_I(). That set the values > 15 bits to 0.

There seems to be no threshold function for unsigned data. ow can we apply threshold on an unsigned 16 bits dataset?

 

Thanks,

PD

 

0 Kudos
1 Reply
Igor_A_Intel
Employee
222 Views

Hi Piali,

I'm curious why are you looking for Thresh functions in the signal processing domain? IPP supports 16u Thresh for image processing:

ippiThreshold_16u_C1R
ippiThreshold_16u_C3R
ippiThreshold_16u_AC4R
ippiThreshold_16u_C1IR
ippiThreshold_16u_C3IR
ippiThreshold_16u_AC4IR

regards, Igor.

0 Kudos
Reply