In image we have add more noises on Matlab .In matlab have following type of predefined noise methods are there.
noise_img = imnoise(input_img,noise_type) noise_img = imnoise(input_img,noise_type,noise_parameters)
In below give the example for add a noise on Image.
output as follows
- Gaussian
- Localvar
- Poisson
- Salt & pepper
- Speckle
noise_img = imnoise(input_img,noise_type) noise_img = imnoise(input_img,noise_type,noise_parameters)
In below give the example for add a noise on Image.
input_img = imread('vivekananda.jpg');
figure;imshow(input_img);
noise_img = imnoise(input_img,'salt & pepper',0.02);
figure;imshow(noise_img);
figure;imshow(input_img);
noise_img = imnoise(input_img,'salt & pepper',0.02);
figure;imshow(noise_img);
output as follows
Related Search : Add a Noise on Image Matlab Example , Matlab Predefined Noise methods,add noise on matlab,image add noise example code,matlab addnoise example code
No comments:
Post a Comment