Colour look-up table

Colour look-up table

A colour look-up table (CLUT) is a mechanism used to transform a range of input colours into another range of colours. It can be a hardware device built into an imaging system or a software function built into an image processing application. The hardware colour look-up table will convert the logical colour (pseudo-colour) numbers stored in each pixel of video memory into physical colours, normally represented as RGB triplets, that can be displayed on a computer monitor. The palette is simply a block of fast RAM which is addressed by the logical colour and whose output is split into the red, green, and blue levels which drive the actual display (e.g., a CRT or cathode ray tube).

A CLUT is characterized by:

  • The number of entries in the palette: determines the maximum number of colours which can appear on screen simultaneously (a subset of the wider full palette, which is to be understood as the total number of colours that a given system is able to generate or manage, e.g. the full RGB colour palette).
  • The width of each entry in the palette: determines the number of colours which the wider full palette can represent.

A common example would be a palette of 256 colours; that is, the number of entries is 256, and thus each entry is addressed by an 8-bit pixel value. The 8 bits is known as colour depth, bit depth or bits per pixel (bpp). Each colour can be chosen from a full palette, typically with a total of 16.7 million colours; that is, the width of each entry is 24 bits, 8 bits per channel, which means combinations of 256 levels for each of the red, green, and blue components: 256 × 256 × 256 = 16,777,216 colours.

An abstract, graphic example would be:

  Image Image Palette
(CLUT)
Full
RGB Palette
Properties Dimensions Colour
depth
Number
of entries
(logical
colours)
Entry

width

Number
of entries
(physical
colours)
8 × 6 pixels 2 bits per pixel → (→ 2 bits) 4 3 bits → (→ 3-bit RGB) 8
Size in

memory

8 × 6 × 2 = 96 bits 4 × 3 = 12 bits N/A
Numeric
entries
00 00 00 00 00 00 00 00
00 00 00 00 01 01 00 00
00 00 00 01 01 01 01 00
10 10 10 10 10 10 10 10
11 11 11 11 11 11 11 11
11 11 11 11 11 11 11 11
00 011
01 110
10 001
11 010
000 000
001  
010  
011  
100  
101  
110  
111  
Coloured
entries
00 00 00 00 00 00 00 00
               
               
               
               
               
00 011
01  
10  
11  

Changes to the palette affect the whole screen at once and can be used to produce special effects which would be much slower to produce by updating pixels.

See also

This article was originally based on material from the Free On-line Dictionary of Computing, which is licensed under the GFDL.


Wikimedia Foundation. 2010.

Игры ⚽ Нужно решить контрольную?

Look at other dictionaries:

  • Colour Look-Up Table — In der Computergrafik bezeichnet man mit indizierten Farben eine Methode zur Speicherung einer Rastergrafik. Bei indizierten Farben enthält die Datenstruktur jedes Pixels nicht direkt die einzelnen Farbwerte, sondern nur einen Index auf einen… …   Deutsch Wikipedia

  • Lookup table — In computer science, a lookup table is a data structure, usually an array or associative array, often used to replace a runtime computation with a simpler array indexing operation. The savings in terms of processing time can be significant, since …   Wikipedia

  • Don't Look Now — This article is about the 1973 film. For the short story collection by Daphne du Maurier, see Not After Midnight. For other uses, see Don t Look Now (disambiguation). Don t Look Now Original film poster …   Wikipedia

  • Don't Look Any Further — Single by Dennis Edwards featuring Siedah Garrett from the album Don t Look Any Further …   Wikipedia

  • QuickDraw — also refers to equipment used for rock climbing. QuickDraw is the 2D graphics library and associated Application Programming Interface (API) which is a core part of the classic Apple Macintosh operating system. It was initially written by Bill… …   Wikipedia

  • Raster bar — Rasterbar redirects here. For the computing library libtorrent from Rasterbar see libtorrent (Rasterbar). Demoscene Concepts Demo Intro Demoparty Effects Demogroup Com …   Wikipedia

  • CLUT — abbr. Colour Look Up Table …   Dictionary of English abbreviation

  • Farbmodell — Alle Farben eines Farbmodells, die durch eine farbgebende Methode tatsächlich ausgegeben werden können, werden durch einen Farbraum repräsentiert. Jede „farbgebende Methode“ hat ihren eigenen Farbraum. Eine Darstellung aller Farborte eines… …   Deutsch Wikipedia

  • Farbraumsystem — Farbmodell Alle Farben eines Farbmodells, die durch eine farbgebende Methode tatsächlich ausgegeben werden können, werden durch einen Farbraum repräsentiert. Jede „farbgebende Methode“ hat ihren eigenen Farbraum. Eine Darstellung aller Farborte… …   Deutsch Wikipedia

  • Farbraum — Farbmodell, hier nach HSL Alle Farben eines Farbmodells, die durch eine farbgebende Methode tatsächlich ausgegeben werden können, werden dreidimensional als Farbraum dargestellt. Jede farbgebende Methode hat ihren eigenen Farbraum. Eine… …   Deutsch Wikipedia

Share the article and excerpts

Direct link
Do a right-click on the link above
and select “Copy Link”