Histogram Equalization, Opencv Python, Histogram Manipulation, Image Enhancement, Opencv.
distributed histogram plt.hist(img_new, bins=50) # put array back into original shape since we flattened it img_new = np.reshape(img_new, img.shape) img_new array([[233, 231, 228, ..., 216, 216, 215], [233, 230, 228, ..., 215, 215, 214], [233, 231, 229, ..., 213, 213, 212], ..., [115, 107, 96, ...,