?? yuanchengxu.m
字號(hào):
clear all
IY=imread('cameraman.bmp');
I=im2bw(IY,0.35);
[zipped,info]=Xingchengbianma(I);
unzipped=Xingchengjiema(zipped,info);
subplot(1,3,1),imshow(IY),title('原始灰度圖像');
subplot(1,3,2),imshow(I),title('二值圖像');
subplot(1,3,3),imshow(unzipped),title('解碼圖像');
unzipped=uint8(unzipped);
erms=jfwucha(I(:),unzipped(:))
cr=info.ratio
whos IY I unzipped zipped
?? 快捷鍵說(shuō)明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號(hào)
Ctrl + =
減小字號(hào)
Ctrl + -