MATLAB的噪声干扰图像、改进后的图像
I=imread('可爱.jpg');
J=rgb2gray(I);
M=imnoise(J,'gaussian',0,0.04);
K=filter2(fspecial('average'));
subplot(1,2,1);imshow(M);
title('噪声干扰图像');
subplot(1,2,2),imshow(K);
title('改进后的图像');
MATLAB的噪声干扰图像、改进后的图像
I=imread('可爱.jpg');
J=rgb2gray(I);
M=imnoise(J,'gaussian',0,0.04);
K=filter2(fspecial('average'));
subplot(1,2,1);imshow(M);
title('噪声干扰图像');
subplot(1,2,2),imshow(K);
title('改进后的图像');