random noise matlab.

4 views (last 30 days)
Faris
Faris on 1 Apr 2011
how to add random noise to image in matlab?

Accepted Answer

David Young
David Young on 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 Comment
Faris
Faris on 3 Apr 2011
ok. i'm doing like this:
Mr=Lr+0.5*randn(size()); %Lr is 64x64 image
is it correct?

Sign in to comment.

More Answers (0)

Community Treasure Hunt

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

Start Hunting!