random noise matlab.

5 visualizzazioni (ultimi 30 giorni)
Faris
Faris il 1 Apr 2011
how to add random noise to image in matlab?

Risposta accettata

David Young
David Young il 1 Apr 2011
There are many choices you might make for the distribution of the noise. For independent additive Gaussian noise you could do this:
noisyImage = originalImage + noiseAmplitude * randn(size(originalImage));
  1 Commento
Faris
Faris il 3 Apr 2011
ok. i'm doing like this:
Mr=Lr+0.5*randn(size()); %Lr is 64x64 image
is it correct?

Accedi per commentare.

Più risposte (0)

Community Treasure Hunt

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

Start Hunting!

Translated by