PDA

View Full Version : color/chroma saturation.


morsa
2nd April 2006, 22:27
Is there any method to measure how much color saturation an image has?
I'm thinking about that because I would like making a plugin for autocalibration on saturation between shots..

neuron2
3rd April 2006, 02:02
You can convert the color space to HLS. Then take the average of the S's for all the pixels in the image.

sh0dan
10th April 2006, 08:17
Or you could accumulate abs(u-128) + abs(v-128) for all pixels - that should also give you an idea.