Extracting frequency components of line in a image

3 次查看(过去 30 天)
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);

采纳的回答

Gova ReDDy
Gova ReDDy 2011-10-17
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 个评论
kamran
kamran 2019-5-26
Can any one guide me to find the high frequency image by descrete fourier transformation
kamran
kamran 2019-5-26
I want a an output image not a graph of an images

请先登录,再进行评论。

更多回答(1 个)

Walter Roberson
Walter Roberson 2011-10-16
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 个评论
Gova ReDDy
Gova ReDDy 2011-11-6
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 2011-11-6
Sorry. I consider this a dead end. I'm done. I suggest you take a different approach.

请先登录,再进行评论。

类别

Help CenterFile Exchange 中查找有关 Fourier Analysis and Filtering 的更多信息

产品

Community Treasure Hunt

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

Start Hunting!

Translated by