Answer the question
In order to leave comments, you need to log in
How to properly equalize the brightness of an image?
There is an image that is heavily overexposed in one area and extremely underexposed in another. I would like to get an output image that is evenly lit (even in grayscale), so that dim pixels are present along with bright ones. I looked in the direction of retinex and gamma correction, but in the case of dimly lit images they give poor results, and retinex is also quite demanding on computing resources. Maybe someone can suggest where else to look. Thank you.
Answer the question
In order to leave comments, you need to log in
Convert to a representation with a selected brightness component (HSB, for example), to equalize its histogram . (perhaps this will be identical to the advice above), and then back to RGB.
If you need to illuminate a dark photographic image with bright spots, then there are three simple methods:
www.tankedup-imaging.com/no_flash_choice.html
For photographs of documents, when you need to get a black and white image, this option is better
: /3549/
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question