Thresholding with range.

Thresholding with range.

Hi,

I am wondering how it is possible (using the Image Processing calls) to set a specific range of pixels to a value V. i.e. if a pixel in a plane is greater than X, but less than Y, then set this pixel to V, or set a Pixel in another Plane to V.

I have found a work around using ippi_Threshold_GTLTVal_(); but it requires 3 function calls per plane (channel) and another at the end to combine. It seems a common enough function to have included as a base.

Best, Chris

2 posts / 0 new
Last post
For more complete information about compiler optimizations, see our Optimization Notice.
vladimir-dudnik (Intel)'s picture

Hi Chris,

you can use ippiLUT family of functions for this purpose.

Regards,
Vladimir

Login to leave a comment.