Intel® Integrated Performance Primitives
Deliberate problems developing high-performance vision, signal, security, and storage applications.
6815 讨论

IPP Color Transformation Functions (Hue, Contrast, Saturation)

cippher
初学者
775 次查看
Hi,
I want to manipulate image Hue, Contrast, Saturation properties using IPP functions.
Can some one list functions which I can use to achive each of these functionality using IPP.
Thanks
c
0 项奖励
3 回复数
Vladimir_Dudnik
775 次查看

Hi,

I'd rather refer you to IPP manual, where you can find description of all IPP functions and even simple samples how to use them. For more complicated samples please visit IPP samples page.

Regards,
Vladimir

0 项奖励
cippher
初学者
775 次查看
Thanks vdudnik
I am using manuals to find out respective functions.
I am facing an issue that I have posted in new thread, I am re-posting here so that you can have a look.
I have image data available in HSV format and to change Hue I am trying to use ippiAddC function by which I add constant value to current Hue value of pixel. Problem is in case of overflow this value is saturated at 255 and hue effect stops getting modify.
For example, if I have pure Blue image and I add values from 0 to 255, I get all variations of hue that is from Blue-Cyan-Green-Yellow-Red-Magneta-Blue.
But for a pure Red image when I start adding values from 0-255, it goes from Red-Magneta-Blue and then saturates on Blue if you keep adding it will shift to Red again.
Is there any way I can avoid this saturation effect of buffer at 255? I am using ippiAddC just to avoid pixel wise operation.
What is the way I can vary Hue other than modifying hue value of each pixel individualy?
Tx,
c...
0 项奖励
Vladimir_Dudnik
775 次查看
Saturation is default mode in IPP functions.
Vladimir
0 项奖励
回复