What is the mathematics behind the imnoise function in matlab?

1 view (last 30 days)
Actually I want to know that how imnoise add noise to a signal .which method it follows.

Answers (2)

Walter Roberson
Walter Roberson on 2 Jan 2013
Most of the supported types are essentially randn() * scale + mean
  2 Comments
Ashwani
Ashwani on 2 Jan 2013
Thanks for reply. If I am using J = imnoise(I,'gaussian',m,v),( m = 0,v=1). Then how it add noise to 'I'.
Jurgen
Jurgen on 2 Jan 2013
I would guess newpixel = originalpixel + randn(1). For every pixel in image, in other words J = I + randn(size(I)). See 'help randn' on how to get different means/variance.

Sign in to comment.


Image Analyst
Image Analyst on 2 Jan 2013
This is all spelled out in the help for the different types of noise you can choose from. It assumes the image is normalized 0-1 and then adds the noise you selected, then it unnormalizes the image to get back to the original intensity range. Was there one particular type of noise that you did not understand the definition of?

Community Treasure Hunt

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

Start Hunting!