ArticleslgStudy

science

Aliasing

Aliasing is a science topic covered in the lgStudy science library. This page brings together a partial reference excerpt, illustrations, worked examples, real-world applications and a short study plan, so you can understand Aliasing rather than just read about it. In short: In digital signal processing, aliasing is a phenomenon in which a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the original signal, there are components at frequency exceeding a certain frequency called Nyquist frequency, fs/2, where fs is the sampling frequency (undersampling).

Aliasing — main illustration
Aliasing — illustration

Key takeaways

  • Aliasing belongs to science; place it in that map before memorising details.
  • Learn the definition first, then one example that makes the definition concrete.
  • Connect Aliasing to a quantity you can measure, compute or draw — that is where exam questions come from.
  • Reproduce the core statement of Aliasing from memory before moving on to harder problems.

Reference excerpt

In digital signal processing, aliasing is a phenomenon in which a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the original signal, there are components at frequency exceeding a certain frequency called Nyquist frequency, fs/2, where fs is the sampling frequency (undersampling). This is because typical reconstruction methods use low frequency components while there are a number of frequency components, called aliases, which sampling result in the identical sample. It also often refers to the distortion or artifact that results when a signal reconstructed from samples is different from the original continuous signal. Aliasing can occur in signals sampled in time, for instance in digital audio or the stroboscopic effect, and is referred to as temporal aliasing. Aliasing in spatially sampled signals (e.g., moiré patterns in digital images) is referred to as spatial aliasing. Aliasing is generally avoided by applying low-pass filters or anti-aliasing filters (AAF) to the input signal before sampling and when converting a signal from a higher to a lower sampling rate. Suitable reconstruction filtering should then be used when restoring the sampled signal to the continuous domain or converting a signal from a lower to a higher sampling rate. For spatial anti-aliasing, the types of anti-aliasing include fast approximate anti-aliasing (FXAA), multisample anti-aliasing (MSAA), and supersampling. Temporal anti-aliasing is a special case of MSAA where pixel samples are collected over multiple frames.

Description

When a digital image is viewed, a reconstruction is performed by a display or printer device. If the image data is processed incorrectly during sampling or reconstruction, the reconstructed image will differ from the original image, and an alias is seen. An example of spatial aliasing is the moiré pattern observed in a poorly pixelized image of a brick wall. Spatial anti-aliasing techniques avoid such poor pixelizations. Aliasing can be caused either by the sampling stage or the reconstruction stage; these may be distinguished by calling sampling aliasing prealiasing and reconstruction aliasing postaliasing. Temporal aliasing is a major concern in the sampling of video and audio signals. Music, for instance, may contain high-frequency components that are outside human's hearing range and hence inaudible. If a piece of music is sampled at 32,000 samples per second (Hz), any frequency components at or above 16,000 Hz (the Nyquist frequency for this sampling rate) will cause aliasing when the music is reproduced by a digital-to-analog converter (DAC). The high frequencies in the analog signal will appear as lower frequencies (wrong alias) in the recorded digital sample and, hence, cannot be reproduced by the DAC. To prevent this, an anti-aliasing filter is used to remove components above the Nyquist frequency prior to sampling. In video or cinematography, temporal aliasing results from the limited frame rate, and causes the wagon-wheel effect, whereby a spoked wheel appears to rotate too slowly or even backwards. Aliasing has changed its apparent frequency of rotation. A reversal of direction can be described as a negative frequency. Temporal aliasing frequencies in video and cinematography are determined by the frame rate of the camera, but the relative intensity of the aliased frequencies is determined by the shutter timing (exposure time) or the use of a temporal aliasing reduction filter during filming.

Like the video camera, most sampling schemes are periodic; that is, they have a characteristic sampling frequency in time or in space. Digital cameras provide a certain number of samples (pixels) per degree or per radian, or samples per mm in the focal plane of the camera. Audio signals are sampled (digitized) with an analog-to-digital converter, which produces a constant number of samples per second. Some of the most dramatic and subtle examples of aliasing occur when the signal being sampled also has periodic content.

Bandlimited functions

Actual signals have a finite duration and their frequency content, as defined by the Fourier transform, has no upper bound. Some amount of aliasing always occurs when such continuous functions over time are sampled. Functions whose frequency content is bounded (bandlimited) have an infinite duration in the time domain. If sampled at a high enough rate, determined by the bandwidth, the original function can, in theory, be perfectly reconstructed from the infinite set of samples.

Bandpass signals

Sometimes aliasing is used intentionally on signals with no low-frequency content, called bandpass signals. Undersampling, which creates low-frequency aliases, can produce the same result, with less effort, as frequency-shifting the signal to lower frequencies before sampling at the lower rate. Some digital channelizers exploit aliasing in this way for computational efficiency. (See Sampling (signal processing), Nyquist rate (relative to sampling), and Filter bank.)

Sampling sinusoidal functions

Sinusoids are an important type of periodic function, because realistic signals are often modeled as the summation of many sinusoids of different frequencies and different amplitudes (for example, with a Fourier series or transform). Understanding what aliasing does to the individual sinusoids is useful in understanding what happens to their sum. When sampling a function at frequency fs (i.e., the sampling interval is 1/fs), the following functions of time (t) yield identical sets of samples if the sampling starts from t=0 such that t=1fsn where n=0,1,2,3, and so on: {sin⁡(2π(f+Nfs)t+φ),N=0,±1,±2,±3,…}. A frequency spectrum of the samples produces equally strong responses at all those frequencies. Without collateral information, the frequency of the original function is ambiguous. So, the functions and their frequencies are said to be aliases of each other. Noting the sine functions as odd functions:

… excerpt ends here. Continue reading the full article.

Illustrations

Aliasing illustration
Aliasing illustration
Aliasing illustration
Aliasing: Dots in the sky due to spatial aliasing caused by halftone resized to a lower resolution
Dots in the sky due to spatial aliasing caused by halftone resized to a lower resolution
Aliasing: Fig.2 Upper left: Animation depicts a sequence of sinusoids, each with a higher frequency f than the previous ones. These "true" signals are also being sampled (blue dots) at a constant sampling frequency or rate fs.

Upper right: The continuous Fourier transform of the sinusoid (not the samples). The single non-zero component, depicting the actual frequency, means that there is no ambiguity.

Lower right: The discrete Fourier transform of just the available samples. The presence of two components means that the samples can fit at least two different sinusoids, one of which is with the true frequency (upper-right). Another sinusoid is with an alias frequency f−fs. (Here the absolute value of it is shown.)

Lower left: Using the same samples (now in orange), the default reconstruction algorithm produces the lower-frequency sinusoid.
Fig.2 Upper left: Animation depicts a sequence of sinusoids, each with a higher frequency f than the previous ones. These "true" signals are also being sampled (blue dots) at a constant sampling frequency or rate fs. Upper right: The continuous Fourier transform of the sinusoid (not the samples). The single non-zero component, depicting the actual frequency, means that there is no ambiguity. Lower right: The discrete Fourier transform of just the available samples. The presence of two components means that the samples can fit at least two different sinusoids, one of which is with the true frequency (upper-right). Another sinusoid is with an alias frequency f−fs. (Here the absolute value of it is shown.) Lower left: Using the same samples (now in orange), the default reconstruction algorithm produces the lower-frequency sinusoid.

Worked examples

Example 1 — a first encounter with Aliasing

Start with the simplest possible case. Write down what Aliasing claims or describes in one sentence, then invent the smallest concrete situation in which that sentence is true. In science, the smallest case is usually a single object, a single equation or a single measurement. Check that every symbol or term in your sentence has a meaning in that case.

Example 2 — changing one variable

Take the situation from Example 1 and change exactly one quantity: double it, halve it, or set it to zero. Predict what should happen to Aliasing before you calculate. Comparing your prediction with the result is the fastest way to find out whether you understand the idea or only the words.

Example 3 — an exam-style question

Typical questions about Aliasing ask you to (a) state it precisely, (b) apply it to given data, and (c) explain a limitation. Practise writing all three answers in under five minutes; the third part is what separates a full-mark answer from an average one.

Applications of Aliasing

In research
Aliasing appears in science research whenever the underlying quantities have to be modelled precisely. Papers usually cite it as a starting assumption and then explore where it breaks down.
In technology and industry
Engineering practice reuses Aliasing in design rules, simulations and safety margins. Knowing the idea lets you read a specification sheet and understand why the numbers look the way they do.
In the classroom
Aliasing is common in secondary-school and first-year university syllabi. It links to neighbouring topics Digital signal processing, Signal processing, so understanding it makes those chapters shorter.
In everyday life
Look for Aliasing outside the textbook — in sport, cooking, traffic, electronics or the sky above you. An example you found yourself is remembered far longer than one you were given.
Ask Teacher Smith questions about this articleOpens your AI tutor with a question about “Aliasing” →

How to study Aliasing in 20 minutes

  1. Read the reference excerpt below once, without taking notes.
  2. Close the page and write down what Aliasing means in your own words.
  3. Compare your version with the excerpt and mark what you missed.
  4. Work through the three examples above with pen and paper.
  5. Explain Aliasing out loud to somebody else — or to Teacher Smith in the lgStudy chat.

Frequently asked questions

What is Aliasing in simple terms?

In digital signal processing, aliasing is a phenomenon in which a reconstructed signal from samples of the original signal contains low frequency components that are not present in the original one. This is caused when, in the original signal, there are components at frequency exceeding a certain f…

Why does Aliasing matter?

Because it connects several science ideas at once: it gives you a definition you can apply, a quantity you can calculate, and a way to check whether a result is plausible.

How should I study Aliasing?

Read the excerpt, restate it from memory, then work through the examples and applications listed on this page. The five-step study plan above takes about twenty minutes.

What does this page cover?

It gives you a compact reference excerpt plus original lgStudy explanations, examples, applications and study material on Aliasing.

Tags

  • Digital signal processing
  • Signal processing

Keep exploring