How i remove repetitive structure like line or circle using notch filter in image?

6 vues (au cours des 30 derniers jours)
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

Réponse acceptée

Image Analyst
Image Analyst le 20 Nov 2017
You can use a Fourier filter. See attached demo and adapt as needed.
  4 commentaires
MUHAMMAD  ADNAN
MUHAMMAD ADNAN le 21 Nov 2017
1)But I want to remove diagonal lines in Ft domain Can you tell me any way to do that? 2)It is possible we apply Hough transform in FT domain to detect these line or not?
Image Analyst
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.

Connectez-vous pour commenter.

Plus de réponses (0)

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!

Translated by