CODE
% Histogram Equalization%
f = imread('tire.tif');
g = histeq(f);
title('Histogram');
subplot(2,2,1);
imshow(f);
title('Input Image');
subplot(2,2,2);
imhist(f);
title('Histogram');
subplot(2,2,3);
imshow(g);
title('Image after Histogram Equalization');
subplot(2,2,4);
imhist(g);
title('Histogram');
No comments:
Post a Comment