Proble with imnoise function
显示 更早的评论
Hi to all,
Does anyone some the "formula" that is used to add gaussian white noise to the image?
Thanks in advance,
J
回答(1 个)
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.
类别
在 帮助中心 和 File Exchange 中查找有关 Image Filtering and Enhancement 的更多信息
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!