1. The 1-D discrete Fourier transform (DFT) is,
2. Both the DFT and IDFT are infinitely periodic, with period M . That is,
3. The 2-D discrete Fourier transform is,
4. As in 1-D case, the 2-D Fourier transform and its inverse are infinitely periodic in the u and v directions, that is,
5. Fourier transform pair satisfies the following translation and rotation properties,
Besides the translation cases, the Fourier transform pairs also has the following property,
The translation property is very useful,
Consider the 1-D spectrum in the below Figure, the transform data in the interval from 0 to M−1 consists of two back-to-back half periods meeting at the point M/2 . For display and filtering purposes, it is more convenient to have in this interval a complete period of the transform in which the data are contiguous with the aid of below equation,
Consider the same way in 2-D case, multiply the exponential term with the original digital image data f(x,y) will shift the Fourier Form F(0,0) at (M/2,N/2) , the center of the intervals [0,M−1] and [0,N−1] , as shown below.
6. In fact, the DFT is a complex , which is consist of real part and imaginary part. the magnitude of the DFT is called the Fourier spectrum,
7. It’s clear from the Fourier equation that,
8. The 2-D DFT is separable into 1-D transforms,
9. Actually, the 2-D DFT is like a decomposition of an image into complex exponential (i.e. sines and cosines)
here is one Fourier transform illustration of random 1-D function f(x) , which can be regarded as a series of cosine and sine curves.
10. We refer to the domain of t as the spatial domain, and the domain of μ as the frequency domain, the preceding equation tells us that the Fourier transform of the convolution of two functions in the spatial domain is equal to the product in the frequency domain of the Fourier transforms of the two functions. Conversely, if we have the product of the two transforms, we can obtain the convolution in the spatial domain by computing the inverse Fourier transform. In other words, f(x)★g(x) and H(μ)F(μ) are a Fourier transform pair.
For 1-D case, the discrete equivalent of the convolution is,
Here gives one 1-D discrete convolution example, the left column of the below figure implements convolution of two functions, f and h , using the above euqation, which because the two functions are of the same size, is written as,
But, one point differs, instead of computing the convolution directly in the spatial domain, if we use the DFT and the convolution theorem to obtain the same result as the left column of the above figure, we must take into account the periodicity inherent in the expression for the DFT. This is equivalent to convolving the two periodic functions in the first two ones on the right column part of the above figure. Proceeding with these two functions will yield the incorrect result, as the last one on the right column part of the figure. The problem stays the two functions interfere with each other to cause what is commonly referred to as wraparound error.
Fortunately, the solution to the wraparound error problem is simple. Consider the two functions f(x) and h(x) composed of A and B samples, respectively. It can be shown that if we append zeros to both functions so that they have the same length, denoted by P, then wraparound is avoided by choosing,