flâneur — a map of the web's best reading

2D Fourier transform in Python: Create any image using only sine functions

thepythoncodingbook.com · 8,330 words · saved by 1 readers

Any image is made up of only sine functions. In this article I'll convince you of this fact by using the 2D Fourier transform in Python

What are the individual units that make up an image? Sure, one answer is pixels, each having a certain value. Another surprising one is sine functions with different parameters. In this article, I’ll convince you that any two-dimensional (2D) image can be reconstructed using only sine functions and nothing else. I’ll guide you through the code you can write to achieve this using the 2D Fourier transform in Python I’ll talk about Fourier transforms. However, you don’t need to be familiar with this fascinating mathematical theory. I’ll describe the bits you need to know along the way. This will

Explore this link on the map →

related reading