Intel® Integrated Performance Primitives
Community support and discussions relating to developing high-performance vision, signal, security, and storage applications.
Announcements
This community is designed for sharing of public information. Please do not share Intel or third-party confidential information here.
6628 Discussions

Why there is no ippsThreshold function for Ipp16u?

Piali_D_
Beginner
105 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
105 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.

Reply