?? l9_2.m
字號:
%程序L9_2.m: 細化%
[image,map]=bmpread('L9_2.bmp');%image像素值為1或2
image=image-1; %原圖像素值設為1或0
x=double(image); %將圖像變換為double格式
check=0;
while check==0
[y count1]=thin(x,1); %type=1:做一次東南邊界的細化
[x count2]=thin(y,2); %type=2:做一次西北邊界的細化
if (count1&count2)==0 %count1=0,count2=0:
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -