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.

It looks pretty ugly, because there are obvious bright and dark spots in the image, and these look veryrepetitive. These large areas of bright and darker color are very low frequency components, so they canbe removed with a subtle High Pass Filter!Let's process the image to our program, apply a High Pass filter with a very small radius to it, and bringthe DC component back: the DC component is the lowest frequency of all, just a flat color, so it can'tlook repetitive, and is very important because it contains the green color of the grass. As you can see onthe third row on the right in the screenshot, a very small circular section of the spectrum is removed,and in the centre of the circle is a single white point which is the DC component.At the bottom row a new version of the grass texture appeared, that looks already much better whentiled if you take a certain distance from it:

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

Saved successfully!

Ooh no, something went wrong!