Color depth is a computer graphics term describing the number of bits used to represent the color of a single pixel in a bitmapped image or video frame buffer. This concept is also known as bits per pixel (bpp), particularly when specified along with the number of bits used. Higher color depth gives a broader range of distinct colors.
With relatively low color depth, the stored value is typically an index into a color map or palette. The colors available in the palette itself may be fixed by the hardware or modifiable. Modifiable palettes are sometimes referred to as pseudocolor palettes.
Old graphics chips, particularly those used in home computers and video game consoles, often feature an additional level of palette mapping in order to increase the maximum number of simultaneously displayed colors. For example, in the ZX Spectrum, the picture is stored in a two-color format, but these two colors can be separately defined for each rectangular block of 8x8 pixels.
In reality, 32-bit color actually refers to 24-bit color (Truecolor) with an additional 8 bits either as empty padding space or to represent an alpha channel. Considering red, green, and blue use the same amount of bits for their respective color (with the exception of 16-bit color), the total bits used will be a multiple of 3: like 15-bit color (5 bits each) and 24-bit color (8 bits each). The reason for using empty space is that all but the newest modern computers process data internally in units of 32 bits; as such, using this amount for each pixel can allow optimizations.
Professional-quality image manipulation and image generation software has started to employ 16 bits per color channel internally in recent years. While the 8 extra bits are not visible on-screen, they provide protection against accumulating rounding errors when multiple manipulations are performed on a picture, such as modifying image brightness and/or contrast.
Many high-quality scanners and a few high-priced graphics cards are able to recognize or show more than 8 bits per color channel as well. 10 bits per channel seem to be enough to reach the absolute limits of human vision under almost all circumstances.
For extended dynamic range imaging, including high dynamic range imaging (HDRI), floating point numbers are used to describe numbers in excess of 'full' white and black. This allows an image to describe accurately the intensity of the sun and deep shadows in the same colour space. Various models are used to describe these ranges, many employing 32 bit accuracy per channel. A new format is the ILM "half" using 16-bit floating point numbers, it appears this is a much better use of 16 bits than using 16-bit integers and is likely to replace it entirely as hardware gets fast enough to support it.
Computer graphics | Television technology
Barevná hloubka | Farbtiefe (Computergrafik) | Profundidad de color | Profondità di colore | Färgdjup | 色彩深度
This article is licensed under the GNU Free Documentation License.
It uses material from the
"Color depth".
Home Page • arts • business • computers • games • health • hospitals • home • kids & teens • news • physicians • recreation• reference • regional • science • shopping • society • sports • world