This plugin calculates the saturation from a picture with four different saturation algorithms:
1. (max-min)
2. (max-min) / sum
3. like HSV: (max-min) / max
4. like HSL: (max-min) / (max+min)
Build and install it with:
$ gimptool-2.0 --install elsamuko-saturation.c
You'll find it then under Colors->Components->Calc Saturation.
Example:
The resulting b/w image can be used as layer mask to filter saturation. For example the script elsamuko-naturalize below uses this plugin to give oversaturated images a more natural impression:
(cc) by Edgar Chambon 94
If you like it, hug someone.
Update1: Fixed a check if used from script
Also: Added a sample script, which uses this plugin.
For all scripts together, go here:
http://sites.google.com/site/elsamuko/gimp
Attachment | Size |
---|---|
elsamuko-saturation.c | 15.1 KB |
elsamuko-naturalize.scm | 2.91 KB |
Recent comments