MATLAB Answers

About add gaussian white noise without using function directly

23 views (last 30 days)
Shao Qianting
Shao Qianting on 3 Nov 2020
Commented: Shao Qianting on 9 Nov 2020
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!

  0 Comments

Sign in to comment.

Answers (1)

Kiran Felix Robert
Kiran Felix Robert on 6 Nov 2020
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!