rss

Video and digital imaging - Digital representation of colour


Colour representations

In order to be able to handle colours correctly and to exchange colorimetric information it is necessary to have the means to categorize them and to choose them. Thus, it is not uncommon to have the choice of the colour of a product before it is even manufactured. In this case, a palette is presented, in which the appropriate colour is selected. Most of the time, the product (vehicle, building, etc) has a colour which corresponds to that selected.

Likewise in IT, it is essential to have a means of choosing a colour among all those that are usable. However, the possible colour range is very vast and the image processing chain passes through various peripheral devices: for example, a digitizer (scanner) followed by image improvement software, and finally a printer. It is thus necessary to be able to represent the colour in a reliable way in order to ensure coherence between these various peripheral devices.

The mathematical representation of a set of colours is thus called the "colour space". There are several, among which the best known are:

The colour spectrum that a peripheral display device allows to be shown is called a gamut or colorimetric space. The colours not belonging to the gamut are called out-of-range colours.

Selection of colours in software

Most graphic software offers means of selecting a colour in an interactive way. The main one is often the swatch chart, that is, the colours are presented in a table in which they are classified by nuances:

Swatch chart

More and more software is integrating more powerful tools however, allowing the choice of a colour from a vast range. Thus, in the colour selector below, the hue is represented by a chromatic disc, while luminance is represented by a vertical selector offering the colour nuances ranging from black to white.

Colour selector

In the selector below on the other hand, the hue is presented as an X-coordinate of the selector on the left, and the saturation is presented as a Y-coordinate. The selector on the right-hand side makes it possible to regulate the luminosity:

Colour selector

Gamma factor

The criterion that defines the nonlinear character of the luminous intensity of an element is called the facteur gamma.

Thus, the luminance of a computerscreen is nonlinear insofar as  :

  • the luminous intensity which it emits is not linearly proportional to the voltage applied, but corresponds to a function curve of the screen gamma (usually between 2.3 and 2.6):
    I ~ Vgamma
  • the luminous intensity perceived by the eye is not proportional to the quantity of light actually emitted

In order to overcome this and to obtain a satisfactory reproduction of the luminous intensity, it is possible to compensate for luminance by applying a transformation called a "gamma correction".

Gamma correction

Thus, there is a gamma transformation corresponding to each peripheral display device, which is itself capable of being adapted to the perception of the user.

Colour management

It is easy to understand the interest regarding image colours when passing through several peripheral devices (a digital chain made up for example of a scanner, an image processing software and then a printer) in order to make sure that the image at the end of the processing chain has colours close to those of the original image. The group of operations that are necessary to guarantee the good conservation of the colours of an image is known as "colour management".

In order to be able to guarantee colour coherence, it is essential to calibrate (or gauge) all the devices or tools of the digital chain. The calibration (or gauging) of a device or tool thus consists in describing all the colours which it is capable of acquiring or producing (i.e. its gamut) in an independent colour space (for example CIE Lab or CIE XYZ) in a file called an ICC profile (International Color Consortium).

This ICC profile is integrated in the image and conveys the entire set of transformations which it underwent along the image processing chain, as a follow-up log.
This document entitled « Video and digital imaging - Digital representation of colour » from Kioskea (en.kioskea.net) is made available under the Creative Commons license. You can copy, modify copies of this page, under the conditions stipulated by the licence, as this note appears clearly.
 

CSS - Colours The CSS standard offers different ways to define colours: by name with hexadecimal notation with decimal notation HTML has names set for a limited number of colours (see HTML colours). The number of colours offered by HTML is not sufficient for... en.kioskea.net/css/css-couleurs.php3
HTML - Colour Table In HTML, colours are defined by three hexadecimal numbers, which represent the Red, Green, and Blue tones (using RGB coding) of the chosen colour. This is the syntax for coding a colour in HTML: color="#RRGGBB" RR, GG and BB each represent a... en.kioskea.net/html/htmlcouleurs.php3
Download Colour SpyWith "Colour Spy", you will be able to choose any color on any window shown in the screen and to transform it into hexadecimal code, what is very practical to assure a well-blended of picture on the bottom of a Web page.Endowed with a simple interface... en.kioskea.net/telecharger/telecharger-779-colour-spy
How to create your own WebsiteHow to create your own Website What is HTML? Example 1: HTML Tags HTML Elements Basic HTML Tags to Remember Example 2 HTML Attributes and Values Example 3 Colour Tags Example 4 Text Formatting Example 5 HTML Division Tags Example... en.kioskea.net/faq/sujet-173-how-to-create-your-own-website
Conditional Formatting (more than 3) in ExcelHello, i am trying to apply more than three options to excel that changes the background colour of the cell. my range is R7:R1000 i need a VBA or macro that will change the background colour of the cell as follows if cell reads "Extreme", change... en.kioskea.net/forum/affich-21716-conditional-formatting-more-than-3-in-excel
LCD Monitor problemHello, Please can anyone advise me on my Acer AL1711 problem? If my monitor is switched on with no input it now cycles through different coloured screens and won't respond to any of the front panel buttons not even to switch off. It used to flash... en.kioskea.net/forum/affich-19498-lcd-monitor-problem
Graphics cardHello, i have an acer aspire rc900, recently there has been different coloured vertical lines across the screen, i think the card an ATI Radeon 9200. i am wondering if i can change to using the on board graphics as if the card is the cause of the... en.kioskea.net/forum/affich-18865-graphics-card
Download Lexmark x1190 Printer DriverThe Lexmark X1190 offers 4800 x 1200 dots per inch (dpi) resolution colour on photo paper in best mode, allowing consumers to produce photo-quality pictures. The flexible flatbed scanner is designed to handle books, reports and photographs.... en.kioskea.net/telecharger/telecharger-894-lexmark-x1190-printer-driver
Video and digital imaging- Composite video The term "composite video" indicates a video signal of which the luminance (luminosity) and chrominance (colour) components and the synchronization pulses are mixed within the same signal. Composite signals are usually carried by cables whose... en.kioskea.net/video/video-composite.php3
Video and digital imaging - The YUV format The YUV standard (also called CCIR 601), known before as YCrCb (Y Cr Cb), is a colour representation model dedicated to analogue video. It is based on a video transmission mode with separate components using three different cables to carry... en.kioskea.net/video/yuv-ycrcb.php3
Video and digital imaging - vector and bitmap images There are two main categories of images: bitmap images (also called raster images): these are pixeled images, i.e. a set of points (pixels) contained in a table, each of these points having one or more values describing its colour. vector images:... en.kioskea.net/video/vector.php3
Answers for « Colour »