What do "fftshift" do exactly for an image ?

20 ビュー (過去 30 日間)
bh dhouha
bh dhouha 2015 年 2 月 16 日
コメント済み: Image Analyst 2015 年 2 月 17 日
What do "fftshift" do exactly for an image ?

採用された回答

Image Analyst
Image Analyst 2015 年 2 月 16 日
Normally the "center" or the 0 frequency location of the spectrum is at the first and last element, and the "ends" of the spectrum (highest frequencies) are at the center of the array. That's just how the fft works. But that's confusing for display because the low frequencies are appearing in two disconnected locations. So fftshift() moves the zero frequency location to the middle of the array so that when you display it with imshow() or plot(), it looks like you'd expect.
  5 件のコメント
bh dhouha
bh dhouha 2015 年 2 月 17 日
Image analyst you said: "Normally the "center" or the 0 frequency location of the spectrum is at the first and last element, and the "ends" of the spectrum (highest frequencies) are at the center of the array. That's just how the fft works", i would like to understand the location of each frequency in the spectrum, is there a document on this or something that explains this point?

サインインしてコメントする。

その他の回答 (0 件)

カテゴリ

Help Center および File ExchangeFourier Analysis and Filtering についてさらに検索

Community Treasure Hunt

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

Start Hunting!

Translated by