Image is Noisy or not ?
1 次查看(过去 30 天)
显示 更早的评论
Hey Everyone ! I'm working on a project which includes to examine either the provided/selected image is noisy or not ?Is the given image is aesthetically acceptable or not.what should be the steps to follow to judge that ?
Any helpful response will be highly appreciated . Thanks in advance
0 个评论
回答(2 个)
Changoleon
2016-11-17
编辑:Walter Roberson
2016-11-17
Hi. this question is very qualitative. What kind of noise does your images has?
Let's assume your image has "salt & pepper" noise ( please see the attached image - the attached picture has salt and pepper noise and also some other sources of noise)
In order to judge if an image has salt and pepper noise, you could count the number of pixels in that image which have the intensity values of 0 and 255. And if the numbers is higher than a specific threshold then you could say that your image has salt and pepper noise or not. For instance
a = double(imread('actin_noise.bmp')); %( download the attached image )
b = sum(sum(a==255)); %this counts the number of white pixels (salt noise)
c = sum(sum(a==0)); %this counts the number of black pixels (pepper noise)
threshold = 2000; % this number needs to be determined by you
if b||c > threshold
fprintf ('Your image has Salt & Pepper noise /d')
end
2 个评论
Changoleon
2016-11-17
编辑:Changoleon
2016-11-17
Once you click on it, the white page will appear. Then you can right click and click on save as to download the image
Image Analyst
2016-11-17
2 个评论
Image Analyst
2016-11-17
You can read this paper for a comprehensive overview of noise and filtering methods: https://users.soe.ucsc.edu/~milanfar/publications/journal/ModernTour.pdf
The Image Processing Toolbox also has functions std2(), immse(), and psnr().
另请参阅
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!