A state of indecisive agitation.
intr.v., -ered, -er·ing, -ers.To be nervously irresolute in acting or doing.
[Alteration of didder, from Middle English didderen, to tremble.]
|
Results for dither
|
On this page:
|
A state of indecisive agitation.
intr.v., -ered, -er·ing, -ers.To be nervously irresolute in acting or doing.
[Alteration of didder, from Middle English didderen, to tremble.]
Simulating more colors and shades in a palette. In a monochrome system that displays or prints only black and white, shades of grays can be simulated by creating varying patterns of black dots. This is how halftones are created in a monochrome printer.
In color systems, additional colors can be simulated by varying patterns of dots of existing colors. Dithering cannot produce the exact same results as having the necessary color depth (levels of gray or colors), but it can make shaded drawings and photographs appear much more realistic.
Dithering is also used to create a wide variety of patterns for use as backgrounds, fills and shading as well as for creating anti-aliasing effects.
| When there aren't enough colors in a display system to render an image properly, an infinite palette can be created by dithering. Quite often, a 24-bit color image is dithered to 256 colors. The right side is a magnification of the white box on the left. |
| Text is also dithered. Notice how much softer the word DATABASE is at the top of this example, compared with the undithered word below it. The magnified view shows where lighter blue pixels filled in for the curves. When dithering is performed against the edges of an image, it is called "anti-aliasing." |
noun
verb
Dither is an intentionally applied form of noise, used to randomize quantization error, thereby preventing large-scale patterns such as contouring that are more objectionable than uncorrelated noise. Dither is routinely used in processing of both digital audio and digital video data, and is often one of the last stages of audio production to compact disc.
…one of the earliest [applications] of dither came in World War II. Airplane bombers used mechanical computers to perform navigation and bomb trajectory calculations. Curiously, these computers (boxes filled with hundreds of gears and cogs) performed more accurately when flying on board the aircraft, and less well on ground. Engineers realized that the vibration from the aircraft reduced the error from sticky moving parts. Instead of moving in short jerks, they moved more continuously. Small vibrating motors were built into the computers, and their vibration was called 'dither' from the Middle English verb 'didderen,' meaning 'to tremble.' Today, when you tap a mechanical meter to increase its accuracy, you are applying dither, and modern dictionaries define 'dither' as 'a highly nervous, confused, or agitated state.' In minute quantities, dither successfully makes a digitization system a little more analog in the good sense of the word. – Ken Pohlmann, Principles of Digital Audio, 4th edition, page 46
The term dither was published in books on analog computation and control shortly after the war.[1][2] The concept of dithering to reduce quantization patterns was first applied by Lawrence G. Roberts[3] in his 1961 MIT master's thesis[4] and 1962 article[5] though he did not use the term dither. By 1964 dither was being used in the modern sense described in this article.[6]
Dither most often surfaces in the fields of digital audio and video, where it is applied to rate conversions and (usually optionally) to bit-depth transitions; it is utilized in many different fields where digital processing and analysis is used — especially waveform analysis. These uses include systems using digital signal processing, such as digital audio, digital video, digital photography, seismology, RADAR, weather forecasting systems and many more.
The premise is that quantization and re-quantization of digital data yields error. If that error is repeating and correlated to the signal, the error that results is repeating, cyclical, and mathematically determinable. In some fields, especially where the receptor is sensitive to such artifacts, cyclical errors yield undesirable artifacts. In these fields dither results in less determinable artifacts. The field of audio is a primary example of this — the human ear functions much like a Fourier transform, wherein it hears individual frequencies. The ear is therefore very sensitive to distortion, or additional frequency content that "colors" the sound differently. The ear is far less sensitive to random noise at all frequencies.
The final version of audio that goes onto a compact disc contains only 16 bits per sample, but throughout the production process a greater number of bits are typically used to represent the sample. In the end, the digital data must be resampled to 16 bits for pressing onto a CD and distributing.
There are multiple ways in which one can resample the data to 16 bits. They can, for example, simply lop off the excess bits — called truncation. They can also round the excess bits to the nearest value. Each of these methods, however, results in predictable and determinable errors in the result. Take, for example, a waveform that consists of the following values:
1 2 3 4 5 6 7 8
If we reduce our waveform by, say, 20% then we end up with the following values:
0.8 1.6 2.4 3.2 4.0 4.8 5.6 6.4
If we truncate these values we end up with the following data:
0 1 2 3 4 4 5 6
If we instead round these values we end up with the following data:
1 2 2 3 4 5 6 6
If any waveform, comprising the original values, were to be processed by multiplying each value by .8, the result would contain errors. A repeating sine wave quantized to the original sample values, for example, would experience the same error every time its supposed value was "3.4" in that the truncated result would be off by .4. Any time the supposed value was "5" the error after processing and truncation would be 0. Therefore, the error amount would change repeatedly as the values change. The result is cyclical behavior in the error, which manifests itself as additional frequency content on the waveform (harmonic distortion). The ear hears this as distortion, or the presence of additional frequency content.
A plausible solution would be to take the 2 digit number (say, 4.8) and round it one direction or the other. For example, we could round it to 5 one time and then 4 the next time. This would make the long-term average 4.5 instead of 4, so that over the long-term the value is closer to its actual value. This, on the other hand, still results in determinable (though more complicated) error. Every other time the value 4.8 comes up the result is an error of .2, and the other times it is – .8. This still results in repeating, quantifiable error.
Another plausible solution would be to take 4.8 and round it so that the first four times out of five it rounded up to 5, and the fifth time it rounded to 4. This would average out to exactly 4.8 over the long term. Unfortunately, however, it still results in repeatable and determinable errors, and those errors still manifest themselves as distortion to the ear (though oversampling can reduce this).
This leads to the dither solution. Rather than predictably rounding up or down in a repeating pattern, what if we rounded up or down in a random pattern? If we came up with a way to randomly toggle our results between 4 and 5 so that 80% of the time it ended up on 5 then we would average 4.8 over the long run but would have random, unrepeating error in the result. This is done through dither.
We calculate a series of random numbers between 0 and .9 (ex: .6, .4, .5, .3, .7, etc.) and we add these random numbers to the results of our equation. Two times out of ten the result will truncate back to 4 (if 0 or .1 are added to 4.8) and the rest of the times it will truncate to 5, but each given situation has a random 20% chance of rounding to 4 or 80% chance of rounding to 5. Over the long haul this will result in results that average to 4.8 and a quantization error that is random — or noise. This "noise" result is less offensive to the ear than the determinable distortion that would result otherwise.
Audio samples: Media:16bit sine.ogg (16-bit original) Media:6bit sine truncated.ogg (truncated to 6 bits) Media:6bit sine dithered.ogg (dithered to 6 bits)
Dither must be added before any quantization or re-quantization process, in order to prevent non-linear behavior (distortion); the lesser the bit depth, the greater the dither must be. The results of the process still yield distortion, but the distortion is of a random nature so its result is effectively noise. Any bit-reduction process should add dither to the waveform before the reduction is performed.
RPDF stands for "Rectangular Probability Density Function," equivalent to a roll of a die. Any number has the same random probability of surfacing.
TPDF stands for "Triangular Probability Density Function," equivalent to a roll of two dice (the sum of two independent samples of RPDF).
Gaussian PDF is equivalent to a roll of a large number of dice. The relationship of probabilities of results follows a bell-shaped, or Gaussian curve.
Colored Dither is sometimes mentioned as dither that has been filtered to be different from white noise. Some dither algorithms use noise that has more energy in the higher frequencies so as to lower the energy in the critical audio band.
Noise shaping is not actually dither, but rather a feedback process that has dither within it. It is used for the same purposes.
If the signal being dithered is to undergo further processing, then it should be processed with TPDF dither[citation needed] that has an amplitude of two quantization steps (so that the dither values computed range from, say, – 1 to +1, or 0 to 2). If colored dither is used at these intermediate processing stages then the frequency content can "bleed" into other, more noticeable frequency ranges and become distractingly audible.
If the signal being dithered is to undergo no further processing — it is being dithered to its final result for distribution — then colored dither or noiseshaping is appropriate, and can effectively lower the audible noise level by putting most of that noise in areas where it is less critical.
Dithering is a technique used in computer graphics to create the illusion of color depth in images with a limited color palette (color quantization). In a dithered image, colors not available in the palette are approximated by a diffusion of colored pixels from within the available palette. The human eye perceives the diffusion as a mixture of the colors within it (see color vision). Dithering is analogous to the halftone technique used in printing. Dithered images, particularly those with relatively few colors, can often be distinguished by a characteristic graininess, or speckled appearance.
Reducing the color depth of an image can often have significant visual side-effects. If the original image is a photograph, it is likely to have thousands, or even millions of distinct colors. The process of constraining the available colors to a specific color palette effectively throws away a certain amount of color information.
A number of factors can affect the resulting quality of a color-reduced image. Perhaps most significant is the color palette that will be used in the reduced image. For example, an original image (Figure 1) may be reduced to the 216-color "web-safe" color palette. If the original pixel colors are simply translated into the closest available color from the palette, no dithering occurs (Figure 2). Typically, this approach results in flat areas and a loss of detail, and may produce patches of color that are significantly different from the original. Shaded or gradient areas may appear as color bands, which may be distracting. The application of dithering can help to minimize such visual artifacts, and usually results in a better representation of the original (Figure 3). Dithering helps to reduce color banding and flatness.
One of the problems associated with using a fixed color palette is that many of the needed colors may not be available in the palette, and many of the available colors may not be needed; a fixed palette containing mostly shades of green would not be well-suited for images that do not contain many shades of green, for instance. The use of an optimized color palette can be of benefit in such cases. An optimized color palette is one in which the available colors are chosen based on how frequently they are used in the original source image. If the image is reduced based on an optimized palette, the result is often much closer to the original (Figure 4).
The number of colors available in the palette is also a contributing factor. If, for example, the palette is limited to only 16 colors, the resulting image could suffer from additional loss of detail, and even more pronounced problems with flatness and color banding (Figure 5). Once again, dithering can help to minimize such artifacts (Figure 6).
Display hardware, including early computer video adapters and many modern LCDs used in mobile phones and inexpensive digital cameras, are only capable of showing a smaller color range than more advanced displays. One
common application of dithering is to more accurately display graphics containing a greater range of colors than the hardware is
capable of showing. For example, dithering might be used in order to display a photographic image containing
Dithering such as this, in which the computer's display hardware is the primary limitation on color depth, is commonly employed in software such as web browsers. Since a web browser may be retrieving graphical elements from an external source, it may be necessary for the browser to perform dithering on images with too many colors for the available display. It was due to problems with dithering that a color palette known as the "web-safe color palette" was identified, for use in choosing colors that would not be dithered on displays with only 256 colors available.
But even when the total number of available colors in the display hardware is high enough when rendering full color digital
photographs, as those 15- and 16-bit RGB Hicolor 32,768/65,536 color modes, banding can be
evident to the eye, especially in large areas of smooth shade transitions (although the original image file has no banding at
all). Dithering the 32 or 64 RGB levels will result in a pretty good "pseudo
Another useful application of dithering is for situations in which the graphic file format is the limiting factor. In particular, the commonly-used GIF format is restricted to the use of 256 or fewer colors in many graphics editing software. Images in other file formats, such as PNG, may also have such a restriction imposed on them for the sake of a reduction in file size. Images such as these have a fixed color palette defining all the colors that the image may use. For such situations, graphical editing software may be responsible for dithering images prior to saving them in such restrictive formats.
There are several algorithms designed to perform dithering. One of the earliest, and still one of the most popular, is the Floyd-Steinberg dithering algorithm, developed in 1975. One of the strengths of this algorithm is that it minimizes visual artifacts through an error-diffusion process; error-diffusion algorithms typically produce images that more closely represent the original than simpler dithering algorithms.[7]
Dithering methods include:
| (Original) | Threshold | Random | Halftone | Bayer |
|---|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
![]() |
| Floyd-Steinberg | Jarvis, Judice & Ninke | Stucki | Burkes |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
| Sierra | Two-row Sierra | Filter Lite | Atkinson |
|---|---|---|---|
![]() |
![]() |
![]() |
![]() |
Stimulated Brillouin Scattering (SBS) is a nonlinear optical effect that limits the launched optical power in
More recent research in the field of dither for audio was done by Lipshitz, Vanderkooy, and Wannamaker at the University of Waterloo.[2]
Other well-written papers on the subject at a more elementary level are available by:
Both Nika Aldrich and Bob Katz are esteemed experts in the field of digital audio and have books available as well, each of which are far more comprehensive in their explanations:
This entry is from Wikipedia, the leading user-contributed encyclopedia. It may not have been reviewed by professional editors (see full disclaimer)
Dansk (Danish)
v. intr. - tøve, ikke kunne beslutte sig, ryste, dirre
n. - ophidselse, frygt, tøven, ubeslutsomhed
idioms:
Nederlands (Dutch)
aarzelen, trillen, zenuwachtigheid, trilling, aarzeling, de zenuwen
Français (French)
v. intr. - hésiter, se tâter (pour prendre une décision)
n. - panique
idioms:
Deutsch (German)
v. - schwanken, unschlüssig sein
n. - Unschlüssigkeit, Nervosität
idioms:
Ελληνική (Greek)
v. - αμφιταλαντεύομαι, διστάζω, κατέχομαι από νευρικότητα, τρέμω, (Η/Υ) εξομαλύνω (διαβαθμίσεις του γκρίζου ή αποχρώσεις σε εικόνα)
n. - νευρικότητα, τρεμούλα, σύγχυση, ταραχή
idioms:
Italiano (Italian)
vacillare, tremare
Português (Portuguese)
v. - sobreexcitar(-se), perturbar
n. - excitação (f)
idioms:
idioms:
Español (Spanish)
v. intr. - vacilar
n. - vibración, estado de excitación o temor
idioms:
Svenska (Swedish)
v. - tveka, vela, vara nervös
n. - upprördhet
中文(简体) (Chinese (Simplified))
慌乱, 犹豫, 踌躇, 颤抖, 紧张
idioms:
中文(繁體) (Chinese (Traditional))
v. intr. - 慌亂, 猶豫, 躊躇
n. - 慌亂, 顫抖, 緊張
idioms:
한국어 (Korean)
v. intr. - 불안해 하다
n. - 당황, 불안
日本語 (Japanese)
v. - 身震いをする, おろおろする
n. - 震え, うろたえ
idioms:
العربيه (Arabic)
(فعل) يحتار, يتردد, يتردد ( بتحير), (موسيقى) يعزف أنصاف النوتات (الاسم) ارتجاف, اهتياج عصبي
עברית (Hebrew)
v. intr. - היסס, רעד
n. - התרגשות, רעדה
If you are unable to view some languages clearly, click here.
To select your translation preferences click here.
Join the WikiAnswers Q&A community. Post a question or answer questions about "dither" at WikiAnswers.
Copyrights:
![]() | Dictionary. The American Heritage® Dictionary of the English Language, Fourth Edition Copyright © 2007, 2000 by Houghton Mifflin Company. Updated in 2007. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Computer Desktop Encyclopedia. THIS COPYRIGHTED DEFINITION IS FOR PERSONAL USE ONLY. All other reproduction is strictly prohibited without permission from the publisher. © 1981-2008 Computer Language Company Inc. All rights reserved. Read more | |
![]() | Thesaurus. Roget's II: The New Thesaurus, Third Edition by the Editors of the American Heritage® Dictionary Copyright © 1995 by Houghton Mifflin Company. Published by Houghton Mifflin Company. All rights reserved. Read more | |
![]() | Wikipedia. This article is licensed under the GNU Free Documentation License. It uses material from the Wikipedia article "Dither". Read more | |
![]() | Translations. Copyright © 2007, WizCom Technologies Ltd. All rights reserved. Read more |
Mentioned In: