12.07.2015 Views

Lode's Computer Graphics Tutorial Fourier Transform

Lode's Computer Graphics Tutorial Fourier Transform

Lode's Computer Graphics Tutorial Fourier Transform

SHOW MORE
SHOW LESS

You also want an ePaper? Increase the reach of your titles

YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.

Frequency Shifting(exp(-i*w0*x))*f(x)F(w-w0)This is the dual of the time shifting.Duality or Symmetryif f(x) F(w)then F(x) f(-w)Apart from some scaling factors at least. Because of this property, for example, the spectrum of arectangular pulse is a sinc function and at the same time the spectrum of a sinc function is a rectangularpulse.Symmetry RulesThese are only a few of the symmetry rules:• The <strong>Fourier</strong> <strong>Transform</strong> of a real even signal is real and even (i.e. it's symmetrical, mirroredaround the y-axis)• The <strong>Fourier</strong> <strong>Transform</strong> of a real odd signal is imaginary and odd (odd means it's assymetrical,mirrored around the origin point)• Since arbitrary real signals are always a sum of an even and an odd function, the <strong>Fourier</strong><strong>Transform</strong> of a real signal has an even real part and an odd imaginary part, and the Amplitude isthus always symmetrical.• In the same way, the amplitude of FT's of pure imaginary signals are symmetrical, but the FT ofcomplex signals isn't always symmetrical.Convolution TheoremConvolution is an operation between two functions that is defined as an integral, but can also beexplained as follows:Take 2 functions, for example two rectangle functions f1(x) and f2(x). Keep one of the rectangles at afixed position. Mirror the second one around the y axis (this doesn't have a lot of effect on a rectangle).Then shift this second function over a value u, where u goes from -infinity to +infinity.The resulting function g(u), the convolution of f1(x) and f2(x), takes u as a parameter. For a certain u,multiply f1 and the shifted and mirrored f2 with each other, and take area under the result (byintegrating it). This area is the value of g(u) for that u! This has to be done for every u to know thecomplete result. For example, for the two rectangle functions, as we start at u=-infinity, g(u) is 0because the two rectangles don't overlap, and multiplication of the two functions will thus result in thezero function, which has zero area. As u moves to the right, g(u) will remain 0 all the time, until finallythe two rectangles start overlapping. Now the more we go to the right, the larger the area will become,until it reaches it's maximum, so g(u) is rising. Then, the rectangles are overlapping less and less againas the second one moves more to the right, and the value of g(u) decreases again. Finally g(u) reacheszero again and remains so until +infinity. The resulting g(u) is thus a triangle function.This is what filters of painting programs that don't use the FT do in 2D. The image is then the function

Hooray! Your file is uploaded and ready to be published.

Saved successfully!

Ooh no, something went wrong!