?? junheng.m
字號:
f=imread('C:\Documents and Settings\lishurui\桌面\lena.bmp');
j=histeq(f);
subplot(2,2,1);
imshow(f);
title('原始圖像');
subplot(2,2,2);
imshow(j);
title('直方圖均衡圖像');
subplot(2,2,3);
imhist(f);
title('原始圖像直方圖');
subplot(2,2,4);
imhist(j);
title('均衡化圖像直方圖');
f=imread('C:\Documents and Settings\lishurui\桌面\lena.bmp');
[j,T]=histeq(f);
figure,plot((0:255/255),T);
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -