Proble with imnoise function

3 visualizaciones (últimos 30 días)
João Mendes
João Mendes el 21 de Abr. de 2021
Editada: DGM el 21 de Abr. de 2021
Hi to all,
Does anyone some the "formula" that is used to add gaussian white noise to the image?
Thanks in advance,
J

Respuestas (1)

DGM
DGM el 21 de Abr. de 2021
Editada: DGM el 21 de Abr. de 2021
Look in $MLROOT/toolbox/images/images/+images/+internal/algimnoise.m
or from the MIMT implementation (not yet published):
case 'gaussian'
outpict=inpict + gaumean + sqrt(gauvar)*randn(s0);
Where gaumean is the noise mean, gauvar is the noise variance, and s0 is the image size.

Categorías

Más información sobre Image Filtering and Enhancement en Help Center y File Exchange.

Community Treasure Hunt

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

Start Hunting!

Translated by