About add gaussian white noise without using function directly

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 日

0 投票

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

質問済み:

2020 年 11 月 3 日

コメント済み:

2020 年 11 月 9 日

Community Treasure Hunt

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

Start Hunting!

Translated by