Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Getting the (HSL conversion) Lightness average Value from an image

Hi, I have hundreds of images that need to analyze to get the max and min value. What is the best way to get the max and min value for lightness value? I had tried the example for the histogram as for this link

link for histogram

I only select channel 2 as the conversion is at HLS, channel 2 is the L.

The question, am i correct by doing like this to get the Ligtness value? If i do the histogram for RGB without conversion, it also have the same answer for Green Channel (2). I think I'm not correct.

Any input?


image description