I'm really confused with this technique.. I know that a histogram is the frequency for every value (I am working on gray-scale images) and I've produced a method to do that:
And a spreading function for the cumulative array:
The next step is to normalize those values so is it correct to take the maximum value and divide all values by the same certain number so that the maximum is now 255? Also, another thing I'm confused about is that even after normalizing the histogram, how will I be able to recreate the image with the spread pixel values? |

1