ruihua.m
来自「MATLAB图象处理程序」· M 代码 · 共 16 行
M
16 行
I=imread('C:\Documents and Settings\lishurui\桌面\lena.bmp');
subplot(2,2,1);
imshow(I);
title('原始图像');
h1=fspecial('sobel');
I1=filter2(h1,I);
subplot(2,2,2);
imshow(I1);title('sobel算子滤波');
h1=fspecial('prewitt');
I2=filter2(h1,I);
subplot(2,2,3);
imshow(I2);title('prewitt算子滤波');
h1=fspecial('log');
I3=filter2(h1,I);
subplot(2,2,4);
imshow(I1);title('log算子滤波');
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?