X3,[]);title('poissonnoise');subplot(2,4,4);imshow(X4,[]);title('specklenoise');subplot(2,4,5);imshow(g2,[]);title('lowpass-btw');subplot(2,4,6);imshow(h2,[]);title('lowpass-btw');subplot(2,4,7);imshow(i2,[]);title('lowpass-btw');subplot(2,4,8);imshow(j2,[]);title('lowpass-btw');figure;%理想低通滤波器滤波后的图像set(figure(4),'NumberTitle','off','Name','Noise&ideal-filter');subplot(2,4,1);imshow(X1,[]);title('salt&peppernoise');subplot(2,4,2);imshow(X2,[]);title('gaussiannoise');subplot(2,4,3);imshow(X3,[]);title('poissonnoise');subplot(2,4,4);imshow(X4,[]);title('specklenoise');subplot(2,4,5);imshow(g3,[]);title('lowpass-ideal');subplot(2,4,6);imshow(h3,[]);title('lowpass-ideal');subplot(2,4,7);imshow(i3,[]);title('lowpass-ideal');subplot(2,4,8);imshow(j3,[]);title('lowpass-ideal');///codeend程序运行结果截图: