Back Forum Reply New

color/chroma saturation.

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..

You can convert the color space to HLS. Then take the average of the S's for all the pixels in the image.

Or you could accumulate abs(u-128) + abs(v-128) for all pixels - that should also give you an idea.
¥
Back Forum Reply New