Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Expression for speckle noise addition might need correction #5004

Closed
neeraj3029 opened this issue Oct 3, 2020 · 3 comments
Closed

Expression for speckle noise addition might need correction #5004

neeraj3029 opened this issue Oct 3, 2020 · 3 comments

Comments

@neeraj3029
Copy link
Contributor

Description

The expression for speckled image is out = img + img * noise which translates to out = img * (noise+ 1) where noise is with given mean and variance. Speckle is a multiplicative noise, in my opinion should just be out = img * noise

@mkcor
Copy link
Member

mkcor commented Oct 3, 2020

@neeraj3029 could you please share some references (textbooks and/or papers)? We may want to point to them even in the docs... Maybe it's just 'well-known' but, personally, my memories from grad school are not fresh at all, so I'd be happy to check out a good reference on the topic. :)

@neeraj3029
Copy link
Contributor Author

neeraj3029 commented Oct 3, 2020

Sure @mkcor! I got to know about it while working on the following papers from IEEE.

  1. SAR Image Despeckling Using a Convolutional
    Neural Network (arXiv)
    (IEEE) - Equation (1) and the paragraph above

  2. A Practical Approach for SAR Image Despeckling Using Deep Learning - Equation (1)

I could not find much implementations of multiplicative noise over the web, so I am not sure if the change I suggest is absolutely correct or not. However, after going through to the papers I thought I should point this out.

@mkcor
Copy link
Member

mkcor commented Mar 23, 2021

Dear @neeraj3029,

Thank you for looking this up. I checked and the implementation is correct. Indeed, noise in out = img * (noise + 1) is speckle noise of zero mean:

mean : float, optional
Mean of random distribution. Used in 'gaussian' and 'speckle'.
Default : 0.

When the formula is expressed as Y = FX where X is the noise-free image and Y the noisy image, F is speckle noise of unit mean (so it's the same as a zero-mean speckle noise + 1).

References:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants