From the previous example, we see that in the 2D spectrum array, the DC component is at the upper-left corner, the highest frequency component is in the middle, and the high frequency components are around the middle, while the low frequency components are around the four sides. Sometime it is preferable to centralize the spectrum by shifting the spectrum by M/2 vertically and N/2 horizontally, so that the DC component and the low frequency components are in the middle while the high frequency components are around the four sides.

Similar to 1D DFT, the 2D DFT of a M by N 2D array of spatial samples
also has the space shift property:

If we change the sign of all spatial sample points if is an odd number, i.e.

then the resulting 2D Fourier spectrum will be centralized with DC component in the middle and high frequency components around the four edges.

Ruye Wang 2003-11-17