9. Fourier Analysis in Imaging#
The Fourier transform is the single most important mathematical tool in quantitative imaging. It provides a language for describing images in terms of their spatial frequency content — which periodicities are present, at what amplitude, and at what phase. Understanding Fourier analysis is essential for making sense of resolution, contrast, filtering, and the tomographic reconstruction methods described in Section 11.
9.1. The 1D Fourier Transform#
Any periodic signal can be decomposed into a sum of sinusoids — this is the central insight of Fourier analysis. For a non-periodic signal, the continuous Fourier transform generalises this to a continuous integral:
where \(f(x)\) is the signal in real space (e.g., position \(x\)), \(\hat{f}(\nu)\) is its Fourier transform in frequency space, and \(\nu\) is the spatial frequency (cycles per unit length). The inverse transform recovers the original signal:
The Fourier transform \(\hat{f}(\nu)\) is in general complex. Its magnitude \(|\hat{f}(\nu)|\) is the amplitude spectrum, and \(\arg \hat{f}(\nu)\) is the phase spectrum. The power spectrum is \(|\hat{f}(\nu)|^2\).
9.1.1. Key Properties#
Property |
Real space |
Fourier space |
|---|---|---|
Linearity |
\(a f + b g\) |
\(a\hat{f} + b\hat{g}\) |
Shift |
\(f(x - x_0)\) |
\(e^{-2\pi i \nu x_0}\hat{f}(\nu)\) — phase shift only |
Scale |
\(f(ax)\) |
\(\frac{1}{|a|}\hat{f}(\nu/a)\) — wide → narrow, narrow → wide |
Convolution |
\(f * g\) |
\(\hat{f} \cdot \hat{g}\) — convolution becomes multiplication |
Parseval |
\(\int |f|^2 dx\) |
\(\int |\hat{f}|^2 d\nu\) — energy is conserved |
The convolution theorem is particularly important for imaging: the action of any linear, shift-invariant imaging system (a lens, a detector, a filter) can be described by its point spread function (PSF) in real space, or equivalently by its transfer function (the Fourier transform of the PSF) in frequency space. Multiplying in frequency space is far more efficient than convolving in real space for large images.
The interactive below lets you build a 1D signal from sinusoidal components and see the resulting power spectrum. Adding components of different frequencies, amplitudes, and phases shows how complex waveforms arise from simple harmonic building blocks.
Interactive element
Click Live Code to activate, expand the Show code toggle, and click ▶ to run. Use the sliders to adjust the frequencies and amplitudes of three sine-wave components. The signal panel shows the resulting waveform; the spectrum panel shows its power spectrum.
9.2. The 2D Fourier Transform in Images#
For a 2D image \(f(x, y)\), the Fourier transform extends naturally to two dimensions:
Here \((k_x, k_y)\) are the two components of the spatial frequency vector \(\mathbf{k}\). The magnitude \(|\mathbf{k}| = \sqrt{k_x^2 + k_y^2}\) is the radial spatial frequency (1/resolution), and the direction of \(\mathbf{k}\) indicates the orientation of the corresponding sinusoidal pattern in the image.
9.2.1. Interpreting the 2D FT#
After applying fftshift to move the DC component (zero frequency) to the centre, the 2D FT has a characteristic structure:
Centre (DC component): the average value of the image
Near centre (low frequencies): coarse structure, global intensity variation
Away from centre (high frequencies): fine detail, sharp edges
Bright lines or arcs: features with a strong periodic structure at that frequency and orientation
Several important image features have recognisable signatures in the 2D FT:
A horizontal line in the image appears as a vertical line in the FT (perpendicular to the feature)
A dot (isotropic blob) appears as a ring in the FT
A ring in the image appears as a ring in the FT (at the reciprocal radius)
9.3. Filtering in Fourier Space#
Because convolution in real space equals multiplication in Fourier space (the convolution theorem), spatial filtering — suppressing or enhancing certain frequencies — is most easily implemented by multiplying the 2D FT by a filter function \(H(k_x, k_y)\) and then inverse-transforming:
Common filter types:
Low-pass filter: \(H = 1\) for \(|\mathbf{k}| < k_\text{cut}\), \(H = 0\) otherwise. Attenuates high frequencies → smooths the image, removes noise but also blurs detail. In cryo-EM, low-pass filtering is used to remove high-frequency noise from noisy micrographs.
High-pass filter: \(H = 0\) for \(|\mathbf{k}| < k_\text{cut}\), \(H = 1\) otherwise. Attenuates low frequencies → enhances edges and fine detail, but amplifies high-frequency noise. The ramp filter used in filtered backprojection (see Section 11) is a radial high-pass filter \(H = |\mathbf{k}|\).
Band-pass filter: passes a range of frequencies. Used for specific feature enhancement (e.g., suppressing both very low and very high frequencies while retaining intermediate-scale structures).
A sharp cutoff in Fourier space (a “top-hat” filter) causes ringing artifacts (Gibbs phenomenon) in real space. In practice, filters are smoothed with a Gaussian or cosine taper. The choice of filter shape involves a trade-off between frequency selectivity and real-space artifacts.
Interactive element
Click Live Code to activate, expand the Show code toggle, and click ▶ to run. Choose a filter type and adjust the cutoff frequency. Watch how the image changes and what the Fourier-space filter looks like.
9.4. Resolution and the Frequency Limit#
In any digital image, the maximum representable spatial frequency is set by the pixel size (the Nyquist limit): if the pixel size is \(d\) (in Å/pixel), the highest frequency is \(\nu_\text{max} = 1/(2d)\) Å⁻¹. This is the Nyquist frequency. Features finer than \(2d\) cannot be represented in the image — they alias back to lower frequencies.
In cryo-EM, the nominal resolution is often defined as the spatial frequency at which the signal-to-noise ratio drops to 1, typically measured by the Fourier Shell Correlation (see Section 10.8.1). A map at “3 Å resolution” means the FSC drops below the 0.143 criterion at \(1/3\) Å⁻¹.
9.5. The Point Spread Function and the CTF#
Every real imaging system has a point spread function (PSF): the image of a perfect point source. By the convolution theorem, the image of any object \(f\) through a system with PSF \(h\) is:
The Fourier transform of the PSF is the optical transfer function (OTF). For an electron microscope operating in phase-contrast mode, the OTF reduces to the contrast transfer function (CTF). The full derivation — starting from the weak phase object approximation and the wave-propagation picture of defocus-induced contrast — is given in Section 7.4. The result is:
where \(\Delta f\) is the underfocus, \(C_s\) the spherical aberration coefficient, \(\lambda\) the electron wavelength, and \(e^{-B\nu^2/4}\) the B-factor envelope from finite coherence. The CTF oscillates between \(-1\) and \(+1\); zeros — the Thon rings visible in the 2D power spectrum of a micrograph — mark frequencies where no information is transferred. CTF correction (phase flipping, Wiener filter, or multiplicity weighting across many defocus values) is required before coherent particle averaging in SPA.
Interactive element
Click Live Code to activate, expand the Show code toggle, and click ▶ to run. Drag the defocus slider to shift the CTF zeros; increase B-factor to see the high-frequency envelope collapse; compare 120/200/300 kV.
9.6. From Fourier Transforms to Tomographic Reconstruction#
The Fourier Slice Theorem (Section 11.3) is a direct consequence of the Fourier transform’s properties. Consider projecting a 2D image \(f(x,y)\) along the \(y\)-axis to get a 1D profile \(P(x) = \int f(x,y)\, dy\). Taking the 1D Fourier transform of \(P\):
The last equality shows that \(\hat{P}(k_x)\) is simply the 2D Fourier transform of \(f\) evaluated on the line \(k_y = 0\) — the central horizontal slice. For a projection at angle \(\theta\), the same argument shows that the FT of the projection fills in the central slice of the 2D FT at angle \(\theta\).
This has a direct practical implication: to reconstruct a 2D image from its projections, one can fill in the 2D Fourier space from the 1D FT of each projection, and then take the inverse 2D FT. This is the basis of reconstruction by Fourier inversion — the foundation of all modern tomographic reconstruction algorithms.
The interactive in Section 11.3 demonstrates this theorem live: as you change the tilt angle, the red line in the 2D Fourier space rotates to show exactly which frequencies each new projection measures. Building up from many angles progressively fills Fourier space, and the missing wedge becomes visible as the angular range is limited.
9.7. Summary#
The key ideas in this chapter:
Any image can be decomposed into a sum of sinusoidal spatial-frequency components, characterised by frequency, amplitude, and phase.
The 2D FT is the spatial-frequency representation of an image. Low frequencies encode global structure; high frequencies encode fine detail and edges.
Filtering is multiplication in Fourier space — far more efficient than convolution in real space for large images.
Resolution is set by the highest reliably measured frequency. In cryo-EM, radiation dose and detector noise limit the usable resolution.
The PSF/OTF (and CTF in EM) fully characterise the imaging system in frequency space. Image formation is multiplication of the object’s FT with the OTF.
The Fourier Slice Theorem — each projection fills one central line through Fourier space — is the mathematical foundation of tomographic reconstruction.