图像滤波处理对比

%中值滤波 I0=imread('photo.jpeg'); j=rgb2gray(I0); I = imnoise(j,'salt & pepper'); Z1=medfilt2(I,[3,3]); Z2=medfilt2(I,[5,5]); figure; subplot(1,3,1),imshow(I),title('原图'); subplot(1,3,2),imshow(Z1),title
相关文章
相关标签/搜索