Math foundation
Fourier: one idea, two industries
This is the bridge between the image lessons and the audio lessons — the same maths, twice.
If you only take one thing from the maths layer, take this: the Fourier transform describes a signal as weighted sinusoidal frequency components. For suitable signals, the inverse transform reconstructs the signal; periodic signals are often introduced through a Fourier series. The same idea applies to sound over time and image brightness over space.
X(f) = ∫ x(t) e^(-2πi f t) dt # continuous, time domain
X[k] = Σ_{n=0}^{N-1} x[n] e^(-2πi k n / N) # DFT, what you actually run
# spots where the two fields are literally the same operation:
# x(t) time-domain waveform <-> x(u,v) image brightness
# f frequency in Hz <-> spatial frequency (cycles per pixel)
# low-pass filter <-> blur
# high-pass filter <-> edge detection
# harmonic (a multiple of f0) <-> a periodic texture / grid patternTwo practical issues follow from analysing a finite sampled segment. They are distinct from aliasing:
Window leakage. The DFT treats a finite chunk as one period repeated forever. If the endpoints do not join smoothly, energy spreads across bins. A Hann window tapers the ends and reduces sidelobes, at the cost of a wider main lobe; windowing reduces leakage but does not eliminate it.
Bin spacing. DFT bins are spaced `sampleRate / N`. A short observation has wider bins and makes nearby tones harder to separate. Zero-padding can interpolate the displayed spectrum, but it does not add information or improve the underlying ability to resolve tones.
What is the image-domain equivalent of a low-pass filter?
Does zero-padding improve true frequency resolution?
Fourier transform
A frequency-domain representation as weighted sinusoidal components; used in both time and space.
FFT
O(N log N) evaluation of the DFT — the reason spectral tools feel instant.
Leakage
Non-periodic chunks smear energy across frequencies; fix with a window.
Review cards
Fourier transform
A frequency-domain representation as weighted sinusoidal components; used in both time and space.
FFT
O(N log N) evaluation of the DFT — the reason spectral tools feel instant.
Leakage
Non-periodic chunks smear energy across frequencies; fix with a window.
Sources for this lesson
Below are the references, editions and original links for further reading and checking.
CourseEssence of Linear Algebra / Calculus / Differential Equationsfree
3Blue1Brown (Grant Sanderson)
持续更新
「数形结合」最好的入口。先看它再看任何图形学教材,否则公式只是一堆符号。
BookThe Fourier Transform and Its Applications
Ronald N. Bracewell
3rd edition, McGraw-Hill
傅里叶写得最漂亮的一本,图像与音频的共同语言。
BookThe Scientist and Engineer's Guide to Digital Signal Processingfree
Steven W. Smith
免费在线全文(640 页)
DSP 最好的起点,直觉优先、几乎不用微积分。卷积、递归、傅里叶、数字滤波器都从这里开始。
CourseSampling, Data Windows, and the DFTfree
Signal Processing, MIT course 2.161
Fall 2008 course notes
Explains finite-record spectral leakage, DFT bin spacing, and how windows trade a wider main lobe for lower sidelobes.
Lights up these nodes in the hub:f-sig