?? example10_12.m
字號:
%首先,對blood1.tif圖像求反,使前景像素值變成1
I = imread('blood1.tif');
BW1 = ~im2bw(I);
%然后,進行填充
BW2 = bwfill(BW1,'holes');
subplot(1,2,1),imshow(BW1)
subplot(1,2,2),imshow(BW2)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -