how to create noise manually to a color image without imnoise function explain with example?

6 visualizzazioni (ultimi 30 giorni)
how to create noise manually to a color image without imnoise function explain with example?

Risposte (2)

Iman Ansari
Iman Ansari il 17 Apr 2013
Hi. For gaussian noise with standard deviation of S:
clear
S = 20;
I = imread('peppers.png');
J = double(I) + S.*randn(size(I));
figure;
subplot(121)
imshow(I)
title('Original Image')
subplot(122)
imshow(J./255)
title('Additive Gaussian Noise')

muhammad khatib
muhammad khatib il 3 Nov 2020
clear
S = 20;
I = imread('peppers.png');
J = double(I) + S.*randn(size(I));
figure;
subplot(121)
imshow(I)
title('Original Image')
subplot(122)
imshow(J./255)
title('Additive Gaussian Noise')

Categorie

Scopri di più su Read, Write, and Modify Image in Help Center e File Exchange

Tag

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by