Aliasing
Last updated
Summary: When a signal is sampled at some sampling rate, the maximum frequency that sample can represent is twice the sampling rate. In images, the sampling rate is the pixel size. Thus, the pixel size sets an upper bound on the best resolution achievable for a given set of images.
In the physical world, signals are continuous. The pressure waves which make up sound vary smoothly between high and low pressure; light waves which form images vary from light to dark, etc. However, computers must represent these signals with discrete samples. When we sample a signal, we take measurements of that signal at evenly spaced positions in space or time.
For a concrete example, consider the samples below:
By eye, it seems obvious that these samples come from a simple sine wave which oscillates once:
However, these samples are explained just as well by a wave which oscillates seven times:
or thirteen times:
Indeed, there are in fact an infinite family of waves which perfectly fit any finite set of samples. There is no way of knowing which of these infinite waves truly gave rise to the samples we observe, so by convention we select the lowest-frequency wave which fits the observed data. However, what happens when there really is high-frequency information in our images which our samples cannot capture?
There are plenty of samples along the entire wave to accurate capture its shape. What happens when the wave’s frequency increases?
When you image an object with a wavelength of 6 Å, the result is still correct. The exact position of the object relative to the pixels has imposed some asymmetry in the image, but if the object shifted left or right the result would again be symmetric.
What about an object with even higher frequency?
When the object has a wavelength of 3 Å, the samples line up perfectly with samples from a 6 Å wave as well. Because we always take the lowest frequency wave that explain our data, we incorrectly interpret our image as resulting from a 6 Å wave. This incorrect result is called “aliasing” and is an important effect in SPA.
The frequency beyond which aliasing occurs is called the Nyquist frequency, and is half the sampling frequency.
Put another way, any spatial features in the object which are smaller than twice the pixel size will be aliased in the image. This results in the commonly quoted maximum resolution for a particle stack of twice the image pixel size.
Frequencies faster than the Nyquist frequency alias to the frequency below Nyquist and the same distance away from it. This operation is commonly described as “folding over” the Nyquist frequency. Note also that in the 3 Å wavelength example above, the aliased 6 Å wave has opposite phase. This is another property of aliasing: the “folding” operation also flips the phase of the aliased wave.
The phase flipping here is a property of all discrete representations of continuous signals. It is distinct from the specific mechanism of phase inversion that occurs in the electron microscope, which is modeled by the CTF.
In the animation below, the moment the true frequency crosses the Nyquist frequency the aliased wave begins to decrease in frequency, rather than increase, since it is folding over the Nyquist frequency.
Just as particle images are represented with pixels in real space, their Fourier transform is represented with pixels in Fourier space. The box in Fourier space is the same size as the box in real space, but each pixel represents a certain range of frequencies rather than a certain region of space. Specifically,
Consider the true contrast transfer function of an image collected in a typical electron microscope used in single-particle analysis (300 kV, 2.7 Cs) with 2 µm defocus.
However, we cannot capture the full, continuous contrast transfer function. We must model it from our images, which are sampled using discrete Fourier pixels. If the Fourier pixels are small, the resulting image of the contrast transfer function may look like this:
At the higher frequencies there is some disruption of the amplitude, but the representation is mostly accurate. However, if the Fourier pixels are too large, the contrast transfer function will be significantly aliased.
In this rather extreme example, the contrast transfer function modeled from the image (black) is significantly different from the true contrast transfer function (grey), especially past approximately 4 Å. This happens because in this region the contrast transfer function starts oscillating more quickly than the Nyquist limit of the Fourier space image. The high-frequency contrast transfer function oscillations are therefore aliased to incorrect lower frequencies.
This effect is more pronounced with:
higher defocus values, which increase the true oscillation rate of the CTF,
smaller pixel sizes, which increase the real space Nyquist limit, requiring the Fourier image to represent a larger region of the CTF, and
smaller box sizes, which reduce the sampling rate in Fourier space.
Since defocus cannot be changed after acquisition, if significant CTF aliasing is observed, the remaining means of removing it are therefore
downsampling, which “zooms in” on a subregion of the CTF by removing higher frequencies, or
using a larger box which gives more pixels in Fourier space to represent the CTF.
Of course, the problem of contrast transfer function aliasing is often rendered moot by the poor signal-to-noise ratio of cryo-EM data. For instance, even the severely-aliased example above more-or-less correctly models data up to the resolution to which the CTF fits the data well.
Say you collect an image of some object using a camera sensor which is 12 Å wide and has 6 pixels. Your pixel size is therefore 2 Å. Put another way, you are sampling the incoming image with a sampling rate of , or one sample for every two Å. If your object is a sine wave which oscillates with a frequency of , the image is unambiguous:
where N is the box size in pixels and the pixel size is the size of a pixel in the real space image. For instance, if a particle is represented with a box of 128 pixels which each represent 2 Å, the Fourier space particle image has a Nyquist frequency of . If the CTF oscillates with a frequency greater than this, the contrast transfer function will be aliased.