Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Adjust hue and saturation like Photoshop

Hello everybody, In Photoshop there are sliders that allow users to adjust hue and saturation values. image description

The range of hue is [-180, 180] and the range of saturation is [-100, 100].

How photoshop works when I change the values of the sliders?

For example, if I set hue to -60 and saturation to 100, how it changes the value of the pixels? And how can I do the same with opencv?

Thank for your help.

Adjust hue and saturation like Photoshop

Hello everybody, In Photoshop there are sliders that allow users to adjust hue and saturation values. values.

image description

The range of hue is [-180, 180] and the range of saturation is [-100, 100].

How photoshop works when I change the values of the sliders?

For example, if I set hue to -60 and saturation to 100, how it changes the value of the pixels? And how can I do the same with opencv?

Thank for your help.