?? 16-8.m
字號:
BW1 = imread('circles.tif');
subplot(221),imshow(BW1);
title('原圖')
BW2 = bwmorph(BW1,'remove');
subplot(222),imshow(BW2);
title('清除中間亮點(diǎn)')
BW3 = bwmorph(BW1,'skel',Inf);
subplot(223),imshow(BW3);
title('分裂,骨架化')
BW4 = bwmorph(BW1,'bothat');
subplot(224),imshow(BW4);
title('閉運(yùn)算減去原圖')
?? 快捷鍵說明
復(fù)制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -