can i have a code to filter in the frequency domain that is capable of attenuating the noise in the image ?
1 vue (au cours des 30 derniers jours)
Afficher commentaires plus anciens
The Image Below is corrupted with periodic noise , ;;
i want a filter in the frequency domain for attenuating that noise
Note : i saw alot of filters that adds ripples to an image then it removes it. so i want a filter to deal with this corrupted image without adding ripples to it , because it already has an perioidc noise
0 commentaires
Réponses (2)
Youssef Khmou
le 16 Juil 2013
hi lona,
there is similar question that was solved yesterday, here is the link : http://www.mathworks.com/matlabcentral/answers/82036-frequency-domain-filter-problem
However here is my suggestion :
Attenuating the noise means you need to design low pass filter, try this method :
h=ones(3)/9;
You can see the frequency response of the filter h :
figure, freqz2(h,32,32);
you take an image corrupted by AWGN :
I=imnoise(im2double(imread('circuit.tif')),'Gaussian');
X=filter2(h,I);
figure, subplot(1,2,1), imshow(I), title(' noisy,v=0.05');
subplot(1,2,2), imshow(X), title(' filtered, Low-pass');
Image Analyst
le 16 Juil 2013
Come on Iona. You don't have to add ripples to it. Don't you realize, from the extensive comments in my demo, that adding the ripples was just to get some kind of starting image with periodic noise in it??? It's not part of the solution. You're starting with an image that already has periodic noise in it - evidently the same image that your classmate "Maria joe" is using. So obviously you skip the part of the demo that creates a sample image for you -- you just read in your image and go from there. And, needless to say (or maybe not so needless), your spikes will be in different locations than my demo so you'll need to change where you zero out the spikes.
1 commentaire
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!