ELI5: Explain Like I'm 5

Histogram equalization

Histogram equalization is like dividing candy in a fair way among your friends so that everyone gets an equal share. In the same way, imagine you have a picture that is too dark or too bright in parts. You want to make it a better picture by making the colors more even.

But how do you make the picture better? Just like dividing candy equally, you need to divide the colors in the picture equally. A histogram is like a map of all the colors in your picture. So, by looking at the histogram you can see which color is used the most and how bright or dark it is.

If the histogram shows that some colors are used more than others, then you can make each color used equally by adjusting the brightness of each color. This is called histogram equalization.

Just like dividing candy fairly, histogram equalization divides the colors in your picture fairly, to make it a better picture that looks even better to your eyes.