How i remove repetitive structure like line or circle using notch filter in image?
6 vues (au cours des 30 derniers jours)
Afficher commentaires plus anciens
MUHAMMAD ADNAN
le 20 Nov 2017
Commenté : Image Analyst
le 21 Nov 2017
Hi,I am want to remove certain repetitive structure from image in Fourier domain FFT using some filter like notch filer. In our image circle or line is the repetitive structure how can I remove in FFT domain and later reconstruct again using IFFT. Please guide me and give simple code for notch filter. thanks
0 commentaires
Réponse acceptée
Image Analyst
le 20 Nov 2017
You can use a Fourier filter. See attached demo and adapt as needed.
4 commentaires
Image Analyst
le 21 Nov 2017
It's apparent you don't really have a good intuitive feel for Fourier transform. Perhaps I do because I got a Ph.D. in Optics and the Fourier transform is the diffraction pattern, and I spend a lot of time in the lab creating diffraction patterns.
Basically, if you have a plane wave hitting a pattern, the light scatters in a direction perpendicular to the pattern in inverse to the spatial dimension. So a line will give a sinc function perpendicular to the line. And a set of lines, which is like a line convolved with a comb function, will give a set of since functions. Now because the line is really long in the spatial dimension, it will be really thin in the Fourier domain. That's why the line is a series of dots (really sinc functions) that are in a thin line perpendicular to the lines in the spatial dimension. So if you get rid of the line going from upper left to lower right, you should get rid of (or reduce visibility of) the lines in the spatial domain once inverse transformed. Sorry, I know it's confusing but it's hard to impart years of hands on intuition in a short post. Try to study up on Fourier patterns some more.
Plus de réponses (0)
Voir également
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!