Histogram equalization is used to enhance the visibility and the contrast of images. It is performed by varying the image intensities. These procedures are clearly described here.
Histogram equalization
Get Raspberry Pi 3 Cookbook for Python Programmers - Third Edition now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.