Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Math and Code behind Hue-Saturation Tool
#1
Hello, I have been using GIMP for a long time. However, I am unable to understand the logic behind one operation. If I were to do Color Enhancement (Hue-Saturation), and I select a Primary color (say Red), I see that only certain colors are enhanced. What is the logic behind this? I am aware of the following:
a.) RGB -> HSL
b.) HSL -> RGB
c.) Saturation Factor if enhancement in saturation (say 40%)
d.) But..what is primary color?

The math behind this would be really helpful. If someone can shed some thoughts on this it would be helpful.
Reply


Forum Jump: