adding gaussian noise to an image

how can i add gaussian noise to an image without using built in function imnoise....please help..

Answers (1)

You can use randn()
X = ones(256,256)+randn(256,256);
You have to consider the datatype of your image though to make it useful.

Asked:

on 2 Oct 2012

Community Treasure Hunt

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

Start Hunting!