필터 지우기
필터 지우기

Average intensity as a function of angle in 2D FFT plot

조회 수: 6 (최근 30일)
Prabhat Srivastava
Prabhat Srivastava 2021년 2월 15일
댓글: Prabhat Srivastava 2021년 2월 17일
Hi
I have a 2D FFT spectrum plot of an image which looks like as shown in the image. I want to get the average value of amplitudes as a function of angle(0 to 360) around the center.
How do i go about it? I tried to convert it into polar coordinate but I am not sure how is it being converted!

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2021년 2월 15일
This is kind-of-difficult in practice. Your fft has low-wavenumber components at [0,0], [1,0], [-1, 0], [0,1], [0,-1] and if we include the components with norm 2^(1/2) at [1,1], [-1,1], [-1,-1] and [1,-1]. The non-DC components are at 0, 90, 180 and 270 degrees angle, and then 45, 135, 225, and 315 degrees. It is not at all clear to me that you can trivially interpolate between these Fourier-components. What I suggest is that you rotate your image with imrotate, and then do the fft and extract the horizontal and vertical components from those ffts to get the angular variation. By doing that it is at least clear what interpolation-effects are introduced.
HTH
  댓글 수: 5
Bjorn Gustavsson
Bjorn Gustavsson 2021년 2월 17일
Was this the solution to your problem?
Prabhat Srivastava
Prabhat Srivastava 2021년 2월 17일
HI Bjourn
Thank you for the help. But I didn't do it in matlab. I did it in imageJ, and just took the average intensity at some required angle.
Thank you once again.

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

카테고리

Help CenterFile Exchange에서 Signal Attributes and Indexing에 대해 자세히 알아보기

Community Treasure Hunt

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

Start Hunting!

Translated by