I am programming a user interface to modify images. In a dialog I
provide three sliders labeled Hue, Saturation and Value(Luminance). It
should work like the sliders in Adobe Photoshop Images->Adjustments-
I do convert every pixel from RGB to HSV resp. HSL color space, do
some calculations and convert back to RGB. It already works but the
results are ok, but not perfect. The problem is the Saturation-slider.
I did some tests in photoshop with some pixel values. I need the
formula how exactly the slider value affects the S and V value. Can