How we can measure salt and pepper noise in image
Show older comments
Answers (1)
Image Analyst
on 13 Oct 2017
0 votes
You can count the number of times you find salt and find pepper, and give an area fraction. See attached.
5 Comments
gayu patil
on 13 Oct 2017
gayu patil
on 13 Oct 2017
Image Analyst
on 13 Oct 2017
With my code, it should be zero. There should be no salt or pepper noise left. How could there be? There might be large regions of 0s or 255s left, but since they'd be large, then would be considered part of the scene, not noise.
gayu patil
on 14 Oct 2017
Edited: gayu patil
on 14 Oct 2017
Image Analyst
on 14 Oct 2017
My code showed you how to find salt and pepper noise. A wiener filter cannot find the noise.
A local min or max filter can be done with imregionalmin() or imregionalmax() rather than nlfilter().
Categories
Find more on Image Arithmetic in Help Center and File Exchange
Products
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!