Implement in matlab the Equalization Algorithm
The Histogram Equalization algorithm enhances the contrast of images by transforming the values in an intensity image so that the histogram of the output image is approximately flat.
Example: This example shows how MATLAB design does image enhancement using histogram equalization.
I =
imread('pout.tif');
J = histeq(I);
subplot(2,2,1);
imshow( I );
subplot(2,2,2);
imhist(I)
subplot(2,2,3);
imshow( J );
subplot(2,2,4);
imhist(J)
Get Answers For Free
Most questions answered within 1 hours.