Proble with imnoise function

조회 수: 1(최근 30일)
João Mendes
João Mendes 2021년 4월 21일
편집: DGM 2021년 4월 21일
Hi to all,
Does anyone some the "formula" that is used to add gaussian white noise to the image?
Thanks in advance,
J

답변(1개)

DGM
DGM 2021년 4월 21일
편집: DGM 2021년 4월 21일
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.

Community Treasure Hunt

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

Start Hunting!

Translated by