multiplicative noise generate using randn

2 vues (au cours des 30 derniers jours)
vipul utsav
vipul utsav le 17 Mar 2013
Commenté : Image Analyst le 18 Mai 2018
I add additive '0' mean Gaussian noise to original image using
n=0+(sd)*randn(size(original image)) and i apply noise estimation algorithm to noisy image and i found additive noise.
If i needs to simulate noise estimation algorithm using multiplicative noise,how i generate noisy image with multiplicative noise? (only using 'randn' function, not using imnoise)

Réponse acceptée

Image Analyst
Image Analyst le 17 Mar 2013
Modifié(e) : Image Analyst le 17 Mar 2013
noiseOnlyImage = sd * randn(size(noiseFreeImage));
noisyImage = noiseFreeImage .* noiseOnlyImage;
% Cast to uint8 if you want.
imshow(noisyImage, []); % Use [] if it's a double image.
  8 commentaires
Saija Bhumireddy
Saija Bhumireddy le 18 Mai 2018
what does sd mean? I see that it is not an inbuilt function. can someone explain this plss
Image Analyst
Image Analyst le 18 Mai 2018
sd is a variable that represents the standard deviation. It's something you assign a desired value to.

Connectez-vous pour commenter.

Plus de réponses (0)

Tags

Community Treasure Hunt

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

Start Hunting!

Translated by