Static Wikipedia February 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu

Web Analytics
Cookie Policy Terms and Conditions Aliasing - Wikipedia, the free encyclopedia

Aliasing

From Wikipedia, the free encyclopedia

This article applies to signal processing, including computer graphics. For uses in computer programming, please refer to aliasing (computing).
Properly sampled image of brick wall.
Properly sampled image of brick wall.
Spatial aliasing in the form of a Moiré pattern.
Spatial aliasing in the form of a Moiré pattern.

In statistics, signal processing, computer graphics, and related disciplines, "signals" that are essentially continuous in space or time must be sampled, and the set of samples is never unique to the original signal. The other signals that could (or did) produce the same samples are called aliases of the original signal.

Contents

[edit] 'Sampling' schemes

If a continuous signal is reconstructed from the samples, the result may be one of the aliases, which represents a form of distortion. For example, when we view a digital photograph, the reconstruction (interpolation) is performed by our eyes and our brain. If the original image was a lawn, we no longer see the individual blades of grass. Therefore we are seeing an alias. The term aliasing can refer to the ambiguity created by sampling or to the subsequent distortion or both.

Most sampling schemes are periodic; that is they have a characteristic sampling frequency, which we denote by the symbol f_s.\, The digital camera provides a certain number of pixels per degree or per radian, which translates into samples per meter at the distance to the subject.

An audio signal is digitized by 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.

[edit] Types of aliasing

[edit] Temporal aliasing

Temporal aliasing is a major concern in the sampling of video 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 [1] exploit aliasing in this way for computational efficiency. Also see sampling. Signals that contain no low frequencies are often referred to as bandpass or non-baseband.

[edit] Example of temporal aliasing

The sun moves east to west in the sky, with 24 hours between sunrises. Its frequency is 1 cycle per 24 hours = 1/24. If one were to take a picture of the sky only every 25 hours (f_s\, = 1/25), the sun would appear to move with a much slower frequency, given by 1 / 24 − 1 / 25 = 1 / 600, or 600 hours between sunrises. But note that both motions would produce the same set of photos ("samples").

Even more interesting is f_s\, = 1/23, in which case the apparent frequency is 1 / 24 − 1 / 23 = − 1 / 552.  The significance of the negative sign is that the sun appears to move in the opposite direction than its actual motion.  The same phenomenon causes the wagon-wheel effect, spoked wheels to apparently turn at the wrong speed or in the wrong direction when filmed, or illuminated with a flashing light source — such as fluorescent lamp, a CRT, or a strobe light.

[edit] Moiré patterns

When a tweed jacket with a pronounced herringbone pattern is viewed on a TV screen with a smaller number of lines than the image of the pattern or on a computer monitor with pixels larger than the elements of the pattern, we might see large areas of darkness and lightness instead of the herringbone pattern. Another Moiré pattern is evident in the poorly pixelized image of a brick wall (see figure). Techniques that avoid such poor pixelizations are called anti-aliasing.

[edit] Sampling sinusoidal functions

Another reason to study periodic signals is that most realistic signals can be thought of as consisting of a linear combination of many sinusoids. Understanding what sampling does to the individual sinusoids can help to understand what happens to their sum. The figure below shows two sinusoids that are aliases of each other when sampled at the frequency (f_s\,) shown. Either sinusoid could be the original signal, and the other is an alias that fits the same set of samples.

 Two different sinusoids that give the same samples; a high frequency      and an alias at   .
Two different sinusoids that give the same samples; a high frequency   f_\mathrm{red} = \frac{10}{9}f_s \,   and an alias at   f_\mathrm{blue} = \frac{1}{9}f_s = f_\mathrm{red}-f_s \,.

A similarity to the sun-motion examples (above) is that the lower frequency is the difference between the higher frequency and f_s.\,   But there are many other alias frequencies, including   \frac{8}{9}f_s.\,   And the concept of negative frequency is not necessary, because there is always an identical sinusoid with a positive frequency:   \sin(2\pi(-f)t + \theta) \equiv -\sin(2\pi f t - \theta).\,


In general, when a sinusoid of frequency f\, is sampled with frequency f_s,\, the resulting samples are indistinguishable from those of another sinusoid of frequency f_\mathrm{image}(N) = |f - Nf_s|\, for any integer N\, (with f_\mathrm{image}(0) = f\, being the actual signal frequency).   Most reconstruction techniques produce the minimum of these frequencies, so it is often important that f_\mathrm{image}(0)\, be the unique minimum.   A necessary and sufficient condition for that is f_s/2 > f,\, where f_s/2\, is commonly called the Nyquist frequency.

A case that does not satisfy that condition is   f_s/2 < f < f_s.\,   Then the lowest image frequency is:

f_\mathrm{image}(1) = |f - f_s| = f_s - f < f,\,

and a reconstruction technique that constructs the lowest possible frequency from the samples, will not reproduce the original frequency (f\,).

Similarly, when f_s < f < 1.5 f_s,\,   the lowest image frequency is still:

f_\mathrm{image}(1) = |f - f_s| = f - f_s,\,

which is the case depicted in the figure above, assuming the red colored sinusoid is the original signal (f = f_\mathrm{red}\,).

[edit] Sample frequency

When the condition f_s/2 > f\, 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 achieved by filtering the original signal to remove high frequency components before it is sampled. 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. E.g., see Whittaker–Shannon interpolation formula.

The Nyquist criterion presumes that the frequency content of the signal being sampled has an upper bound. Implicit in that assertion is that its duration has no upper bound. Similarly, the Whittaker–Shannon interpolation formula assumes instantaneous sampling and an interpolation filter with an unrealizable frequency response. The conclusion, that perfect reconstruction is possible, is simplistic. But like Newtonian physics, these assertions are highly useful approximations... sufficient for most purposes.

[edit] Folding

Based on the formula f_\mathrm{image}(N) = |f - Nf_s|,\,  as f\, increases above f_s/2,\,  the image closest to 0 moves from f_s/2\, down to 0 and then back up to f_s/2.\,  This creates a local symmetry about the frequency f_s/2.\,  For example, a frequency component at 0.6 f_s,\, has a "mirror" image at 0.4 f_s.\,  That effect is commonly referred to as folding.

[edit] Complex signal representation

Complex signals are signals whose samples are complex numbers, and the concept of negative frequency is meaningful.  In that case, the frequencies of the images are given by just: f_\mathrm{image}(N) = f - Nf_s.\,   So as f\, increases above f_s/2,\,  the image closest to 0 moves from  -f_s/2\,   up to  +f_s/2\,  and repeats that cycle. The phenomenon of "folding" does not occur.

[edit] 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, an unwanted signal can end up at the same frequency as the wanted one. If it is strong enough it can interfere with reception of the desired signal.

[edit] More examples

[edit] Online "live" example

The qualitative effects of aliasing can be heard in the following audio demonstration. Six sawtooth waves are played in succession, with the first two sawtooths having a fundamental 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 between bandlimited (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 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.

  • Sawtooth aliasing demo {440 Hz bandlimited, 440 Hz aliased, 880 Hz bandlimited, 880 Hz aliased, 1760 Hz bandlimited, 1760 Hz aliased}

[edit] 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.

[edit] See also

Wikimedia Commons has media related to:

[edit] External links

[edit] References

  1. ^ Harris, Frederic J. (2006). Multirate Signal Processing for Communication Systems. Upper Saddle River, NJ: Prentice Hall PTR. ISBN 0-13-146511-2. 
Static Wikipedia 2008 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2007 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - en - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu -

Static Wikipedia 2006 (no images)

aa - ab - af - ak - als - am - an - ang - ar - arc - as - ast - av - ay - az - ba - bar - bat_smg - bcl - be - be_x_old - bg - bh - bi - bm - bn - bo - bpy - br - bs - bug - bxr - ca - cbk_zam - cdo - ce - ceb - ch - cho - chr - chy - co - cr - crh - cs - csb - cu - cv - cy - da - de - diq - dsb - dv - dz - ee - el - eml - eo - es - et - eu - ext - fa - ff - fi - fiu_vro - fj - fo - fr - frp - fur - fy - ga - gan - gd - gl - glk - gn - got - gu - gv - ha - hak - haw - he - hi - hif - ho - hr - hsb - ht - hu - hy - hz - ia - id - ie - ig - ii - ik - ilo - io - is - it - iu - ja - jbo - jv - ka - kaa - kab - kg - ki - kj - kk - kl - km - kn - ko - kr - ks - ksh - ku - kv - kw - ky - la - lad - lb - lbe - lg - li - lij - lmo - ln - lo - lt - lv - map_bms - mdf - mg - mh - mi - mk - ml - mn - mo - mr - mt - mus - my - myv - mzn - na - nah - nap - nds - nds_nl - ne - new - ng - nl - nn - no - nov - nrm - nv - ny - oc - om - or - os - pa - pag - pam - pap - pdc - pi - pih - pl - pms - ps - pt - qu - quality - rm - rmy - rn - ro - roa_rup - roa_tara - ru - rw - sa - sah - sc - scn - sco - sd - se - sg - sh - si - simple - sk - sl - sm - sn - so - sr - srn - ss - st - stq - su - sv - sw - szl - ta - te - tet - tg - th - ti - tk - tl - tlh - tn - to - tpi - tr - ts - tt - tum - tw - ty - udm - ug - uk - ur - uz - ve - vec - vi - vls - vo - wa - war - wo - wuu - xal - xh - yi - yo - za - zea - zh - zh_classical - zh_min_nan - zh_yue - zu