About add gaussian white noise without using function directly

10 ビュー (過去 30 日間)
Shao Qianting
Shao Qianting 2020 年 11 月 3 日
コメント済み: Shao Qianting 2020 年 11 月 9 日
Hello,
I'd like to add gaussian white noise on the image, and don't use matlab function directly, and I should use probability density function.
NewImage = OldImage + k * Gaussian, I don't know how to write. Please! Thanks!

回答 (1 件)

Kiran Felix Robert
Kiran Felix Robert 2020 年 11 月 6 日
Hi Shao,
To add Gaussian Noise to an image without using the in-built function, you may do the following,
  1. Generate a Gaussian Kernel – Refer fspecial
  2. Convolve the Gaussian Kernel and the image – Refer conv2
Kiran Felix Robert

Community Treasure Hunt

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

Start Hunting!

Translated by