About add gaussian white noise without using function directly

5 views (last 30 days)
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!

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!