close all clear clc disp('====E4_5_2.m===='); I=imread('tire.tif'); J=histeq(I); subplot(2,2,1),imshow(I),ylabel('原图像'); subplot(2,2,2),imhist(I); subplot(2,2,3),imshow(J),ylabel('直方图均衡图像'); subplot(2,2,4),imhist(J);