I=rgb2grayimreadDmatblab_21bprojectspicturetesttif;IA=imnoiseIsalt & pepper;加入椒盐噪声subplot222imshowIA;title加入椒盐噪声后的图像;f1f2=freqspacesizeIAmeshgrid;D=100sizeIA1;r=f1^2+f2^2;Hd=onessizeIA;for i=1sizeIA1
subplot(224),imshow(medfilt2(IA)); title('中值滤波处理');
原文地址: https://www.cveoy.top/t/topic/cRev 著作权归作者所有。请勿转载和采集!