All Topics  
Aliasing

 

   Email Print
   Bookmark   Link






 

Aliasing



 
 
In statistics
Statistics

Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
, signal processing
Signal processing

Signal processing is the analysis, interpretation, and manipulation of signal . Signals of interest include: audio signal processing, , time-varying measurement values and sensor data, for example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others....
, computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
 and related disciplines, aliasing refers to an effect that causes different continuous signals to become indistinguishable (or aliases of one another) when sampled
Sampling (signal processing)

In signal processing, sampling is the reduction of a continuous signal to a discrete signal. A common example is the conversion of a sound wave to a sequence of sample ....
.






Discussion
Ask a question about 'Aliasing'
Start a new discussion about 'Aliasing'
Answer questions from other users
Full Discussion Forum



Encyclopedia


Moire Pattern of Bricks
Moire Pattern of Bricks Small
In statistics
Statistics

Statistics is a Mathematics pertaining to the collection, analysis, interpretation or explanation, and presentation of data. It also provides tools for prediction and forecasting based on data....
, signal processing
Signal processing

Signal processing is the analysis, interpretation, and manipulation of signal . Signals of interest include: audio signal processing, , time-varying measurement values and sensor data, for example biological data such as electrocardiograms, control system signals, telecommunication transmission signals such as radio signals, and many others....
, computer graphics
Computer graphics

Computer graphics are graphics created by computers and, more generally, the representation and manipulation of pictorial data by a computer....
 and related disciplines, aliasing refers to an effect that causes different continuous signals to become indistinguishable (or aliases of one another) when sampled
Sampling (signal processing)

In signal processing, sampling is the reduction of a continuous signal to a discrete signal. A common example is the conversion of a sound wave to a sequence of sample ....
. It also refers to the distortion
Distortion

A distortion is the alteration of the original shape of an object, image, sound, waveform or other form of information or representation. Distortion is usually unwanted....
 or artifact
Artifact (observational)

In natural science and signal processing, an artifact is any perceived distortion or other data error caused by the instrument of observation....
 that results when a signal is sampled and reconstructed as an alias of the original signal.

When we view a digital photograph, the reconstruction (interpolation) is performed by a display or printer device, and by our eyes and our brain. If the reconstructed image differs from the original image, we are seeing an alias. An example of spatial aliasing is the Moiré pattern
Moiré pattern

In physics, a moir? pattern is an interference pattern created, for example, when two grids are overlaid at an angle, or when they have slightly different mesh sizes....
 one can observe in a poorly pixelized image of a brick wall. Techniques that avoid such poor pixelizations are called anti-aliasing
Anti-aliasing

In digital signal processing, anti-aliasing is the technique of minimizing the distortion artifacts known as aliasing when representing a high-resolution signal at a lower resolution....
.

Temporal aliasing
Temporal aliasing

Temporal aliasing is the term applied to a visual phenomenon also known as the stroboscopic effect. It also accounts for the "wagon-wheel effect", so called because in video or motion pictures, spoked wheels on horse-drawn wagons sometimes appear to be turning backwards....
 is a major concern in the sampling of video
Video

Video is the technology of electronics Videography, recording, processing, storing, transmitting, and reconstructing a sequence of still images representing Scene in motion....
 and audio signals. Music, for instance, may contain high-frequency components that are inaudible to us. If we sample it with a frequency that is too low and reconstruct the music with a digital to analog converter, we may hear the low-frequency aliases of the undersampled high frequencies. Therefore, it is common practice to remove the high frequencies with a filter before the sampling is done.

Situations also exist where the low frequencies are removed (if necessary), and the high frequency components are intentionally undersampled and reconstructed as lower ones. Some digital channelizers

exploit aliasing in this way for computational efficiency; see IR/RF sampling
Sampling (signal processing)

In signal processing, sampling is the reduction of a continuous signal to a discrete signal. A common example is the conversion of a sound wave to a sequence of sample ....
. Signals that contain no low frequencies are often referred to as bandpass or non-baseband
Baseband

In signal processing, baseband is an adjective that describes signals and systems whose range of frequencies is measured from zero to a maximum bandwidth or highest signal frequency; it is sometimes used as a noun for a band of frequencies starting at zero....
.

In video or cinematography, temporal aliasing results from the limited frame rate, and causes the wagon-wheel effect
Wagon-wheel effect

The wagon-wheel effect is an optical illusion in which a spoked wheel appears to rotate differently from its true rotation. The wheel can appear to rotate more slowly than the true rotation, it can appear stationary, or it can appear to rotate in the opposite direction from the true rotation....
, 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
Negative frequency

The concept of negative and positive frequency can be as simple as a wheel rotating one way or the other way. A signed value of frequency indicates both the rate and direction of rotation....
.

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 (pixel
Pixel

In digital imaging, a pixel is the smallest item of information in an image. Pixels are normally arranged in a 2-dimensional grid, and are often represented using dots, squares, or rectangles....
s) 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
Analog-to-digital converter

An analog-to-digital converter is a device which converts continuous signal to Discrete signal digital numbers. The reverse operation is performed by a digital-to-analog 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.

Sampling and reconstruction


According to the Nyquist–Shannon sampling theorem
Nyquist–Shannon sampling theorem

The Nyquist?Shannon sampling theorem is a fundamental result in the field of information theory, in particular telecommunications and signal processing....
, if a function contains no frequencies higher than , it is completely determined by giving the values of its samples measured at any rate higher than (called the Nyquist rate
Nyquist rate

In signal processing, the Nyquist rate is two times the Bandwidth_ of a bandlimited signal or a bandlimited channel. This term is used to mean two different things under two different circumstances:...
 for the signal of bandwidth ). If a waveform is reconstructed from samples by using the Whittaker–Shannon interpolation formula
Whittaker–Shannon interpolation formula

The Whittaker?Shannon interpolation formula is a method to reconstruct a continuous-time bandlimited signal from a set of equally spaced samples....
, the result will match the original waveform if the waveform bandwidth and the sample rate satisfy the relation ; if they do not, then higher frequencies will alias to lower frequencies, as explained below using a sine wave as an example.

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. Understanding what aliasing does to the individual sinusoids is useful in understanding what happens to their sum.

Here a plot depicts a set of samples whose sample-interval is 1.0 and two (of many) different sinusoids that could have produced the samples. The sample-rate in this case is . For instance, if the interval is 1 second, the rate is 1 sample per second. Nine cycles of the red sinusoid and 1 cycle of the blue sinusoid span an interval of 10. The respective sinusoid frequencies are   = 0.9   and   = 0.1.

In general, when a sinusoid of frequency is sampled with frequency   the resulting samples are indistinguishable from those of another sinusoid of frequency for any integer (with being the actual signal frequency).   Most reconstruction techniques produce the minimum of these frequencies, so it is often important that be the unique minimum.   A sufficient condition for that is where is commonly called the Nyquist frequency
Nyquist frequency

The Nyquist frequency, named after the Swedish-American engineer Harry Nyquist or the Nyquist?Shannon sampling theorem, is half the sampling frequency of a discrete signal processing system....
 of a system that samples at rate .

In our graphic example, the Nyquist condition is satisfied if the original signal is the blue sinusoid .   But if     the lowest image frequency is:
  • A reconstruction technique that constructs the lowest possible frequency from the samples will reproduce the blue sinusoid instead of the red one.
  • We note that is also an image frequency, but since there is no way to distinguish a sinusoid of frequency    from one of frequency    all aliases can be described in terms of just positive frequencies.


Sample frequency


When the condition is met for the highest frequency component of the original signal, then it is met for all the frequency components, a condition known as the Nyquist criterion. That is typically approximated by filtering the original signal to attenuate high frequency components before it is sampled. They still generate low-frequency aliases, but at very low amplitude levels, so as not to cause a problem. A filter chosen in anticipation of a certain sample frequency is called an anti-aliasing filter
Anti-aliasing filter

An anti-aliasing filter is a filter used before a signal sampler, to restrict the bandwidth of a signal to approximately satisfy the Nyquist?Shannon sampling theorem....
. The filtered signal can subsequently be reconstructed without significant additional distortion, for example by the Whittaker–Shannon interpolation formula
Whittaker–Shannon interpolation formula

The Whittaker?Shannon interpolation formula is a method to reconstruct a continuous-time bandlimited signal from a set of equally spaced samples....
.

The Nyquist criterion presumes that the frequency content of the signal being sampled has an upper bound. Implicit in that assumption is that the signal's duration has no upper bound. Similarly, the Whittaker–Shannon interpolation formula represents an interpolation filter with an unrealizable frequency response. These assumptions make up a mathematical model that is an idealized approximation, at best, to any realistic situation. The conclusion, that perfect reconstruction is possible, is mathematically correct for the model, but only an approximation for real samples of a real signal.

Complex signal representation


Complex signals are signals whose samples are complex numbers, and the concept of negative frequency
Negative frequency

The concept of negative and positive frequency can be as simple as a wheel rotating one way or the other way. A signed value of frequency indicates both the rate and direction of rotation....
 is necessary for such signals.  In that case, the frequencies of the aliases are given by just:    Therefore, as increases from   to    the image closest to 0 moves from     up to 0.

Folding


Real-valued sinusoids have the same negative-frequency aliases as complex ones. The absolute value operator,    is possible because there is always an equivalent sinusoid with a positive frequency. Therefore, as increases from   to    an image moves from down to 0.  This creates a local symmetry about the frequency   For example, a frequency component at    has a "mirror" image at  That effect is commonly referred to as folding.  And another name for   (the Nyquist frequency)  is  folding frequency.

Historical usage


Historically the term aliasing evolved from radio engineering because of the action of superheterodyne receivers. When the receiver shifts multiple signals down to lower frequencies, from RF
Radio frequency

Radio frequency is a frequency or rate of oscillation within the range of about 3 Hz to 300 GHz. This range corresponds to frequency of alternating current electrical signals used to produce and detect radio waves....
 to IF
Intermediate frequency

In communications and electronic engineering, an intermediate frequency is a frequency to which a Carrier wave is shifted as an intermediate step in Transmission or reception....
 by heterodyning, an unwanted signal, from an RF frequency equally far from the local oscillator
Local oscillator

A local oscillator is an electronic device used to generate a signal normally for the purpose of converting a signal of interest to a different frequency using a Frequency mixer....
 (LO) frequency as the desired signal, but on the wrong side of the LO, can end up at the same IF frequency as the wanted one. If it is strong enough it can interfere with reception of the desired signal. This unwanted signal is known as an image or alias of the desired signal.

More examples


Online "live" example


The qualitative effects of aliasing can be heard in the following audio demonstration. Six sawtooth wave
Sawtooth wave

The sawtooth wave is a kind of non-sinusoidal waveform. It is named a sawtooth based on its resemblance to the teeth on the blade of a saw.The convention is that a sawtooth wave ramps upward and then sharply drops....
s are played in succession, with the first two sawtooths having a fundamental frequency
Fundamental frequency

The fundamental tone, often referred to simply as the fundamental and abbreviated f0 or F0, is the lowest frequency in a harmonic series ....
 of 440 Hz (A4), the second two having fundamental frequency of 880 Hz (A5), and the final two at 1760 Hz (A6). The sawtooths alternate between bandlimited
Bandlimited

A bandlimited signal is a deterministic or stochastic signal whose Fourier transform or power spectral density is zero above a certain finite frequency....
 (non-aliased) sawtooths and aliased sawtooths and the sampling rate is 22.05 kHz. The bandlimited sawtooths are synthesized from the sawtooth waveform's Fourier series
Fourier series

In mathematics, a Fourier series decomposes a periodic function into a sum of simple oscillating functions, namely sine wave . The study of Fourier series is a branch of Fourier analysis....
 such that no harmonics above the Nyquist frequency are present.

The aliasing distortion in the lower frequencies is increasingly obvious with higher fundamental frequencies, and while the bandlimited sawtooth is still clear at 1760 Hz, the aliased sawtooth is degraded and harsh with a buzzing audible at frequencies lower than the fundamental. Note that the audio file has been coded using Ogg's
Ogg

Ogg is a free file format, open standard container format maintained by the Xiph.Org Foundation. The Ogg format is unrestricted by software patents and is designed to provide for efficient streaming media and manipulation of high quality digital multimedia....
 Vorbis
Vorbis

Vorbis is a free software and open source software, Lossy compression audio codec project headed by the Xiph.Org Foundation and intended to serve as a replacement for MP3....
 codec, and as such the audio is somewhat degraded.

Direction finding


A form of spatial aliasing can also occur in antenna arrays or microphone arrays used to estimate the direction of arrival of a wave signal, as in geophysical exploration by seismic waves. Waves must be sampled at more than two points per wavelength
Wavelength

In physics, wavelength is the distance between repeating units of a propagating wave of a given frequency. It is commonly designated by the Greek language letter lambda ....
, or the wave arrival direction becomes ambiguous.

See also

  • Anti-aliasing
    Anti-aliasing

    In digital signal processing, anti-aliasing is the technique of minimizing the distortion artifacts known as aliasing when representing a high-resolution signal at a lower resolution....
  • Wagon-wheel effect
    Wagon-wheel effect

    The wagon-wheel effect is an optical illusion in which a spoked wheel appears to rotate differently from its true rotation. The wheel can appear to rotate more slowly than the true rotation, it can appear stationary, or it can appear to rotate in the opposite direction from the true rotation....
  • Sinc filter
    Sinc filter

    Category:Digital signal processingIn signal processing, a sinc filter is an idealized electronic filter that removes all frequency components above a given bandwidth, leaves the low frequencies alone, and has linear phase....
  • Sinc function
    Sinc function

    In mathematics, the sinc function, denoted by and sometimes as , has two definitions. In digital signal processing and information theory, the normalized sinc function is commonly defined by...
  • Temporal aliasing
    Temporal aliasing

    Temporal aliasing is the term applied to a visual phenomenon also known as the stroboscopic effect. It also accounts for the "wagon-wheel effect", so called because in video or motion pictures, spoked wheels on horse-drawn wagons sometimes appear to be turning backwards....
  • Kell factor
    Kell factor

    Kell factor is a parameter used to determine the effective of a discrete display device. The number was first measured in 1934 by RCA engineer Raymond D....


External links


  • by Burton MacKenZie using stop frame animation and a clock.
  • from YouTube
    YouTube

    YouTube is a Video hosting service website where users can upload, view and share video clips. Three former PayPal employees created YouTube in February 2005....
    , includes some information about aliasing toward the end.