Computer Vision, Histogram Equalization, Python3.
#gray-scale, any channel enhanced_image = upcontrastImage(image) cv2.imwrite("your_enhanced_image", enhanced_image) Then, go to the directory where the enhanced image is stored and open to view it. Using cv2.imshow(enhanced_image) won’t show the expected image. All right, that’s Histogram