Extracting frequency components of line in a image

5 visualizzazioni (ultimi 30 giorni)
Hi.. I want to extract the only frequency components of discontinuous line in the image shown here http://tinypic.com/r/2va11fc/7 while removing all other frequencies Can i do like this
I = imread(image);
imshow(I);
FT = fft2(I);
FT(1,1) = 0;
I2 = ifft2(FT);
imshow(I2);

Risposta accettata

Gova ReDDy
Gova ReDDy il 17 Ott 2011
Actually this discontinuous line is a edge in the original image. As EDGES are high frequency components so I thought to suppress DC components...... So how can I extract frequency components by shifting the discontinuous line.
  5 Commenti
kamran
kamran il 26 Mag 2019
Can any one guide me to find the high frequency image by descrete fourier transformation
kamran
kamran il 26 Mag 2019
I want a an output image not a graph of an images

Accedi per commentare.

Più risposte (1)

Walter Roberson
Walter Roberson il 16 Ott 2011
Straight lines (or line segments) have frequency components at all frequencies. Zeroing the DC component would at best shift the line segments. Zeroing any other frequency component would result in a wiggly line after reverse transformation.
  11 Commenti
Gova ReDDy
Gova ReDDy il 6 Nov 2011
Here the value of 1 means the x has a values of 1 for a width of 40 as given in the above example of Image Analyst.
Doing fft for the entire image will result in the frequencies of entire image..right.
But Im asking this question for a long time*Extracting only the frequencies of line from the entire image*.How to do this..
Image Analyst
Image Analyst il 6 Nov 2011
Sorry. I consider this a dead end. I'm done. I suggest you take a different approach.

Accedi per commentare.

Prodotti

Community Treasure Hunt

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

Start Hunting!

Translated by