The result of fft2 will be the two-dimensional
spectrum of the signal, by oddly arranged: each axis (rows or
columns) has starts with low frequencies at all of the corners,
and increases to the nyquist frequency (sampling frequency / 2)
and it's negative in the center. Below are examples of the
magnitude and phase of such spectra:
| |
Magnitude | Angle |
Here's another example, specifically for the lenna image:
Note that this result will be a matrix of complex values.
That's why you need to take its magnitude or phase in order to
graph it.