Fourier transform of a picture?

조회 수: 7 (최근 30일)
Alberto Paniate
Alberto Paniate 2020년 9월 11일
댓글: Alberto Paniate 2020년 9월 12일
Hi, I'm trying to create a model that simulates a lens with fourier optics. Studying fourier optics I have this formula:
Now, when d=f we have a simple fourier transform. Now I think that matlab doesn't put f (that states for focal lenght) in the exponential. How can I change the factors in the exponential?

답변 (1개)

Bjorn Gustavsson
Bjorn Gustavsson 2020년 9월 11일
Note that the actual Fourier transform is the second row of your equation, while the first factor you can see as a matrix with normalization coefficients that varies over the Fourier-plane (main contribution here is to include a spatial variation of the phase due to optical path-lengths differences). Just calculate the FFT of your image, then calculate the normalization-coefficient-matrix, take care to calculate u and v correctly scaled, and use sensible values for f, k and lambda. That should be manageable. The f in the Fourier-transform is just a scaling-factor - accounting for the scaling of the u and v coordinates - those are given by the optical system and your image-size.
  댓글 수: 2
Alberto Paniate
Alberto Paniate 2020년 9월 11일
Thanks for the answer. Yeah I know that the fourier transform is the second row. If I have understood correctly, I should create new variables: x= 2pi/(lambda*f)*u and same thing for v .In this way we obtain the same structure of fft in matlab
Alberto Paniate
Alberto Paniate 2020년 9월 12일
@BjornGustavsson

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

카테고리

Help CenterFile Exchange에서 Optics에 대해 자세히 알아보기

태그

Community Treasure Hunt

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

Start Hunting!

Translated by