Demystifying Colour (iii) : colour models and spaces

Colour is a challenging concept in digital photography and image processing, partially because it is not a physical property, but rather a perceptual entity. Light is made up of many wavelengths, and colour is a sensation that is caused when our brain interprets these wavelengths. In the digital world, colour is represented using global colour models and more specific colour spaces

Colour models

colour model is a means of mapping wavelengths of light to colours, based on some particular scientific process, and a mathematical model, i.e. a way to convert colour into numbers. A colour model on its own is abstract, with no specific association to how the colours are perceived. The components of colour models have a number of distinguishing features. The core feature is the component type (e.g. RGB primaries, hue) and its associated units (e.g. degrees, percent). Other features included scale type (e.g. linear/non-linear), and geometric shape of the model (e.g. cube, cone, etc).

Colour models can be expressed in many different ways, each with their own benefits and limitations. Colour models can be described based on how they are constructed:

  • Colorimetric – These are colour models based on physical measurements of spectral reflectance. One of the CIE chromaticity diagrams is usually the basis for these models.
  • Psychological – These colour models are based on the human perception of colour. They are either designed on subjective observation criteria, and some sort of comparative references, (e.g. Munsell), or are designed through experimentation to comply with the human perception of colour, e.g. HSV, HSL.
  • Physiological – These colour models are based on the three primary colours associated with the three types of cones in the human retina, e.g. RGB.
  • Opponent – Based on perception experiments using pairwise opponent primary colours, e.g. Y-B, R-G.

Sometimes colour models are distinguised based on how colour components are combined. There are two methods of colour mixing – additive or subtractive. Additive colour models use light to display colours, while subtractive models use printing inks. Colours received in additive models such as RGB are the result of transmitted light, whereas those perceived in subtractive models such as CMYK are the result of reflected light. An example of an image showing its colours as represented using the RGB colour model is shown in Fig.1.

Fig.1: A colour image and its associated RGB colour model

Colour models can be described using a geometric representation of colours in a three-dimensional space, such as a cube, sphere or cone. The geometric shape describes what the map for navigating a colour space looks like. For example RGB is shaped like a cube, HSV can be represented by a cylindrical or conical object, and YIQ is a convex-poyhedron (a somewhat skewed rectangular box). The geometric representations of the image in Figure 1 shown using three different colour models is shown in Figure 2.

Fig.2: Three different colour models with differing geometric representations

Colour spaces

colour space, is a specific implementation of a colour model, and usually defines a subset of a colour model. Different colour spaces can exist within a colour model. With a colour model we are able to determine a certain colour relative to other colours in the model. It is not possible to conclude how a certain colour will be perceived. A colour space can then be defined by a mapping of a colour model to a real-world colour reference standard. The most common reference standard is CIE XYZ which was developed in 1931. It defines the number of colours the human eye can distinguish in relation to wavelengths of light.

In the context of photographs colour space is the specific range of colours that can be represented. For example the RGB colour model has several different colour spaces, e.g. sRGB, Adobe RGB. sRGB is the most common colour space and is the standard for many cameras, and TVs. Adobe RGB was designed (by Adobe) to complete with sRGB, and is meant to offer a broader colour gamut (some 35% more). So a photograph taken using sRGB may have more subtle tones, than one taken using Adobe RGB. CIELab, and CIELuv are colour spaces within the CIE colour model.

That being said, the terms colour model and colour space are often used interchangeably, for example RGB is considered both a colour model and a colour space.

Leave a comment