边缘检测算子.txt

来自「压缩包中共有7个文件」· 文本 代码 · 共 14 行

TXT
14
字号
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 + =
减小字号Ctrl + -
显示快捷键?