Artificial Intelligence, Computer Vision, Digital Image Processing, Histogram Equalization, Python.
points. The dimension of the image is 22x37 pixels, giving a total of 814 pixels. Let’s say we live in a world where there are only five possible colours: black, gray, white, yellow and blue. To obtain the histogram, we can count the number of pixels for each possible colour: black — 34 pixels gray