How To Find If An Image Is Bright Or Dark Reviews Save

Input image is resized to 10x10 pixel, to reduce the computation, Convert it to LAB color space to access the luminous channel which is independent of colors, Normalize pixel values to be in range of 0 - 1. Compare the mean value of pixels with a threshold value.

No reviews for this project.

Add review

Open Source Agenda Badge

Open Source Agenda Rating

From the blog