- Aliasing
:"This article applies to signal processing, including computer graphics. For uses in computer programming, please refer to
aliasing (computing) ."In
statistics ,signal processing ,computer graphics and related disciplines, aliasing refers to an effect that causes different continuous signals to become indistinguishable (or "aliases" of one another) when sampled. It also refers to thedistortion or artifact 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 one can observe in a poorly pixelized image of a brick wall. Techniques that avoid such poor pixelizations are calledanti-aliasing .Temporal aliasing is a major concern in the sampling ofvideo 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 adigital 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 cite book
last = Harris
first = Frederic J.
year = 2006
title = Multirate Signal Processing for Communication Systems
publisher = Prentice Hall PTR
location = Upper Saddle River, NJ
isbn = 0-13-146511-2] exploit aliasing in this way for computational efficiency; see IR/RF sampling. Signals that contain no low frequencies are often referred to asbandpass or non-baseband .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 frequency of rotation. A reversal of direction can be described as anegative frequency .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 s) per degree or per radian, or samples per mm in the focal plane of the camera. Audio signals are sampled (digitized ) with ananalog-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.ampling and reconstruction
According to the
Nyquist–Shannon sampling theorem , 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 theNyquist rate for the signal of bandwidth ). If a waveform is reconstructed from samples by using theWhittaker–Shannon interpolation formula , the result will match the original waveform if the waveform bandwidth and the sample rate satsify 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
Sinusoid s 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 a big help 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 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. The filtered signal can subsequently be reconstructed without significant additional distortion, for example by the
Whittaker–Shannon interpolation formula .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 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 to IF byheterodyning , an unwanted signal, from an RF frequency equally far from thelocal oscillator (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 s are played in succession, with the first two sawtooths having afundamental frequency 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 betweenbandlimited (non-aliased) sawtooths and aliased sawtooths and the sampling rate is 22.05 kHz. The bandlimited sawtooths are synthesized from the sawtooth waveform'sFourier series 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
Vorbis codec, and as such the audio is somewhat degraded.* {440 Hz bandlimited, 440 Hz aliased, 880 Hz bandlimited, 880 Hz aliased, 1760 Hz bandlimited, 1760 Hz aliased}
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 , or the wave arrival direction becomes ambiguous.ee also
*
Anti-aliasing
*Wagon-wheel effect
*Sinc filter
*Sinc function
*Temporal aliasing
*Kell factor References
External links
* [http://burtonmackenzie.com/2006/07/i-cant-drive-55.html Frequency Aliasing Demonstration] by Burton MacKenZie using stop frame animation and a clock.
* [http://www.youtube.com/watch?v=UDfR6GVFFSc Your Calculator is Wrong Video] fromYouTube , includes some information about aliasing toward the end.
Wikimedia Foundation. 2010.