Gimp-Forum.net
Equations/Details of the Color Transformations - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Equations/Details of the Color Transformations (/Thread-Equations-Details-of-the-Color-Transformations)



Equations/Details of the Color Transformations - crocis - 04-16-2020

Hi All,

I am interested in the color transformations of the tools like brightness-contrast, hue-chroma, hue-saturation, saturation, exposure, color balance, color temperature, ... 

Do you know where I can find the details of these tools, in particular the mathematical equations behind them?

Thank you in advance for your help.

Simone


RE: Equations/Details of the Color Transformations - tmanni - 04-17-2020

As far as I know, there is no "mathematical" documentation of the algorithms. But If reading the C code don't scare you, it's available online.
For gimp tools (like brightness-contrast, color balance) it's here :

https://gitlab.gnome.org/GNOME/gimp/-/tree/master/app/operations

For other filters (GEGL operations) it's here:

https://gitlab.gnome.org/GNOME/gegl/-/tree/master/operations


RE: Equations/Details of the Color Transformations - crocis - 04-17-2020

Thank you for your reply tmanni. I will try to have a look at the code.

The color transformations that interest me are "standard" transformations present in all the photo editing software. Perhaps, there are also books that describe them. Do you know these books?


RE: Equations/Details of the Color Transformations - Ofnuts - 04-17-2020

Do not overlook WIkipedia, more math than you can shake a compiler at:

https://en.wikipedia.org/wiki/Color_balance