5灰度图像matlab

106 阅读1分钟

clc;clear;

I=imread('Lena.bmp');

imshow(I)

J=filter2([1 2;-1 -2],I);

figure,imshow(J,[]);

% blog.csdn.net/sxj0820/art…