What do "fftshift" do exactly for an image ?
23 Ansichten (letzte 30 Tage)
Ältere Kommentare anzeigen
bh dhouha
am 16 Feb. 2015
Kommentiert: Image Analyst
am 17 Feb. 2015
What do "fftshift" do exactly for an image ?
0 Kommentare
Akzeptierte Antwort
Image Analyst
am 16 Feb. 2015
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.
Weitere Antworten (0)
Siehe auch
Kategorien
Mehr zu Fourier Analysis and Filtering finden Sie in Help Center und File Exchange
Produkte
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!