I would like to know the difference between contrast stretching and histogram equalization.
I have tried both using OpenCV and observed the results
I think that contrast stretching broadens the histogram of the image intensity levels, so the intensity around the range of input may be mapped to the full intensity range.
Histogram equalization, on the other hand, maps all of the pixels to the full range according to the cumulative distribution function or probability.