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

조회 수: 5 (최근 30일)
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

채택된 답변

Image Analyst
Image Analyst 2017년 11월 20일
You can use a Fourier filter. See attached demo and adapt as needed.
  댓글 수: 4
MUHAMMAD  ADNAN
MUHAMMAD ADNAN 2017년 11월 21일
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 2017년 11월 21일
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.

댓글을 달려면 로그인하십시오.

추가 답변 (0개)

Community Treasure Hunt

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

Start Hunting!

Translated by