# What is the value of the standard deviation $\sigma$? [closed]

I am using the following formula to add the additive Gaussian noise. noise= (x/255)*(randn(size(image))), where x is the variable and randn is random value generator. Intensity range is $0-255$. But, what is the value of the standard deviation $\sigma$ here? Is it x or (x/255)?

## closed as unclear what you're asking by Matt L., Laurent Duval, MBaz, jojek♦May 15 '16 at 9:13

Please clarify your specific problem or add additional details to highlight exactly what you need. As it's currently written, it’s hard to tell exactly what you're asking. See the How to Ask page for help clarifying this question. If this question can be reworded to fit the rules in the help center, please edit the question.

randn gives you Gaussian noise with std. dev. of 1.
(x/255)*(randn(size(image))) gives you a noisy image of std. dev. (x/255)
• And intensity range of this noise realization is unlikely to be in $[0,255]$, because there will be negative vaules – Laurent Duval May 14 '16 at 11:44