wap to demonstrate Noise Model matlab program
clear all;
close all;
i=imread('cameraman.tif');
%subplot(3,2,1);
figure,
imshow(i);
j=imnoise(i,'gaussian',0.5,0.06);
%subplot(3,2,2);
figure,
imshow(j);
k=imnoise(i,'salt
& pepper',0.4);
%subplot(3,2,3);
figure,
imshow(k);
l=imnoise(i,'speckle',0.6);
%subplot(3,2,4);
figure,
imshow(l);
m=imnoise(i,'poisson');
%subplot(3,2,5);
figure,
imshow(m);
O/p