-
-
Notifications
You must be signed in to change notification settings - Fork 2.2k
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
Comments
@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. :) |
Sure @mkcor! I got to know about it while working on the following papers from IEEE.
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. |
Dear @neeraj3029, Thank you for looking this up. I checked and the implementation is correct. Indeed, scikit-image/skimage/util/noise.py Lines 39 to 41 in a69d492
When the formula is expressed as References: |
Description
The expression for speckled image is
out = img + img * noise
which translates toout = img * (noise+ 1)
where noise is with given mean and variance. Speckle is a multiplicative noise, in my opinion should just beout = img * noise
The text was updated successfully, but these errors were encountered: