?? 邊緣檢測算子.txt
字號:
I=imread('eight.tif');
BW1=edge(I,'sobel');
BW2=edge(I,'roberts');
BW3=edge(I,'prewitt');
BW4=edge(I,'log');
BW5=edge(I,'canny');
h=fspecial('gaussian',5);
BW6=edge(I,'zerocross',[],h);
subplot(2,3,1),imshow(BW1)
subplot(2,3,2),imshow(BW2)
subplot(2,3,3),imshow(BW3)
subplot(2,3,4),imshow(BW4)
subplot(2,3,5),imshow(BW5)
subplot(2,3,6),imshow(BW6)
?? 快捷鍵說明
復制代碼
Ctrl + C
搜索代碼
Ctrl + F
全屏模式
F11
切換主題
Ctrl + Shift + D
顯示快捷鍵
?
增大字號
Ctrl + =
減小字號
Ctrl + -