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!