Extracting frequency components of line in a image

조회 수: 5 (최근 30일)
Gova ReDDy
Gova ReDDy 2011년 10월 16일
댓글: kamran 2019년 5월 26일
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에서 Discrete Fourier and Cosine Transforms에 대해 자세히 알아보기

제품

Community Treasure Hunt

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

Start Hunting!

Translated by