I would like to know the difference between contrast stretching and histogram equalization.
I have tried both using OpenCV and observed the results
Contrast is the difference between maximum and minimum pixel intensity.
Both methods are used to enhance contrast, more precisely, adjusting image intensities to enhance contrast.
During histogram equalization the overall shape of the histogram changes, whereas in contrast stretching the overall shape of histogram remains same.