Teach (and learn) the Fourier transform geometrically! - Deepstash

Bite-sized knowledge

to upgrade

your career

Ideas from books, articles & podcasts.

created 3 ideas

TOWARDSDATASCIENCE

Teach (and learn) the Fourier transform geometrically!

Teach (and learn) the Fourier transform geometrically!

towardsdatascience.com

STASHED IN:

89 reads

First, we need to get an outline from an image. I decided to use Canny edge detection to extract the edges from an image (in the example above, a drawing of Sherlock Holmes).

This will give us a 2D binary array indicating the edges of the image. Now, we need to represent these points as co...

Now, we need to order the points to make the progression as smooth as possible. In practice, I’ve found ordering to minimize the difference from one point to the next is a good approach!

We’ll now apply the Fourier transform to extract the magnitude and phase information associated with each frequency. As visualizing all the oscillators is slow, we’ll filter out all the frequency components above self._n_oscillators .

React

Comment

It's time to

READ

LIKE

A PRO!

Jump-start your

reading habits

, gather your

knowledge

,

remember what you read

and stay ahead of the crowd!

Takes just 5 minutes a day.


TRY THE DEEPSTASH APP

+2M Installs

4.7 App Score