Misplaced Pages

CIE 1931 color space

Article snapshot taken from Wikipedia with creative commons attribution-sharealike license. Give it a read and then ask your questions in the chat. We can research this topic together.
(Redirected from Chromaticity coordinate) Color space defined by the CIE in 1931
This article needs additional citations for verification. Please help improve this article by adding citations to reliable sources. Unsourced material may be challenged and removed.
Find sources: "CIE 1931 color space" – news · newspapers · books · scholar · JSTOR (May 2019) (Learn how and when to remove this message)
Gamut of the CIE RGB primaries and location of primaries on the CIE 1931 xy chromaticity diagram
The CIE 1931 RGB color matching functions normalized to equal areas under the curves. Multiplying the red and green curves by 72.0962 and 1.3791 respectively yields the actual color matching functions. The color matching functions are proportional to the intensities of primaries needed to match the monochromatic test color at the wavelength shown on the horizontal scale.

In 1931 the International Commission on Illumination (CIE) published the CIE 1931 color spaces which define the relationship between the visible spectrum and the visual sensation of specific colors by human color vision. The CIE color spaces are mathematical models that create a "standard observer", which attempts to predict the perception of unique hues of color. These color spaces are essential tools that provide the foundation for measuring color for industry, including inks, dyes, and paints, illumination, color imaging, etc. The CIE color spaces contributed to the development of color television, the creation of instruments for maintaining consistent color in manufacturing processes, and other methods of color management.

The initials CIE come from the French name "Commission Internationale de l'éclairage", which has maintained and developed many of the standards in use today relating to colorimetry. The CIE color spaces were created using data from a series of experiments, where human test subjects adjusted red, green, and blue primary colors to find a visual match to a second, pure color. The original experiments were conducted in the mid 1920s by William David Wright [ja] using ten observers and John Guild using seven observers. The experimental results were combined, creating the CIE RGB color space. The CIE XYZ color space was derived from CIE RGB in an effort to simplify the math.

The CIE 1931 XYZ color space is still widely used, even though it is not perceptually uniform in relation to human vision. In 1976 the CIE published the CIELUV and CIELAB color spaces, which are derived from XYZ, and are intended to provide more uniform predictions relative to human perception.

Background: the human eye and tristimulus values

The normalized spectral sensitivity of human cone cells of short-, middle- and long-wavelength types

The human eye with normal vision has three kinds of cone cells that sense light, having peaks of spectral sensitivity in short ("S", 420 nm – 440 nm), medium ("M", 530 nm – 540 nm), and long ("L", 560 nm – 580 nm) wavelengths. These cone cells underlie human color perception in conditions of medium and high brightness; in very dim light color vision diminishes, and the low-brightness, monochromatic "night vision" receptors, denominated "rod cells", become effective. Thus, three parameters corresponding to levels of stimulus of the three kinds of cone cells, in principle describe any human color sensation. Weighting a total light power spectrum by the individual spectral sensitivities of the three kinds of cone cells renders three effective values of stimulus; these three values compose a tristimulus specification of the objective color of the light spectrum. The three parameters, denoted "S", "M", and "L", are indicated using a 3-dimensional space denominated the "LMS color space", which is one of many color spaces devised to quantify human color vision.

A color space maps a range of physically produced colors from mixed light, pigments, etc. to an objective description of color sensations registered in the human eye, typically in terms of tristimulus values, but not usually in the LMS color space defined by the spectral sensitivities of the cone cells. The tristimulus values associated with a color space can be conceptualized as amounts of three primary colors in a tri-chromatic, additive color model. In some color spaces, including the LMS and XYZ spaces, the primary colors used are not real colors in the sense that they cannot be generated in any light spectrum.

The CIE XYZ color space encompasses all color sensations that are visible to a person with average eyesight. That is why CIE XYZ tristimulus values are a device-invariant representation of color. It serves as a standard reference against which many other color spaces are defined. A set of color-matching functions, like the spectral sensitivity curves of the LMS color space, but not restricted to non-negative sensitivities, associates physically produced light spectra with specific tristimulus values.

Consider two light sources composed of different mixtures of various wavelengths. Such light sources may appear to be the same color; this effect is called "metamerism." Such light sources have the same apparent color to an observer when they produce the same tristimulus values, regardless of the spectral power distributions of the sources.

Most wavelengths stimulate two or all three kinds of cone cell because the spectral sensitivity curves of the three kinds overlap. Certain tristimulus values are thus physically impossible: e.g. LMS tristimulus values that are non-zero for the M component and zero for both the L and S components. Furthermore pure spectral colors would, in any normal trichromatic additive color space, e.g., the RGB color spaces, imply negative values for at least one of the three primaries because the chromaticity would be outside the color triangle defined by the primary colors. To avoid these negative RGB values, and to have one component that describes the perceived brightness, "imaginary" primary colors and corresponding color-matching functions were formulated. The CIE 1931 color space defines the resulting tristimulus values, in which they are denoted by "X", "Y", and "Z". In XYZ space, all combinations of non-negative coordinates are meaningful, but many, such as the primary locations , , and , correspond to imaginary colors outside the space of possible LMS coordinates; imaginary colors do not correspond to any spectral distribution of wavelengths and therefore have no physical reality.

Meaning of X, Y and Z

A comparison between a typical normalized M cone's spectral sensitivity and the CIE 1931 luminosity function for a standard observer in photopic vision

In the CIE 1931 model, Y is the luminance, Z is quasi-equal to blue (of CIE RGB), and X is a mix of the three CIE RGB curves chosen to be nonnegative (see § Definition of the CIE XYZ color space). Setting Y as luminance has the useful result that for any given Y value, the XZ plane will contain all possible chromaticities at that luminance.

The unit of the tristimulus values X, Y, and Z is often arbitrarily chosen so that Y = 1 or Y = 100 is the brightest white that a color display supports. In this case, the Y value is known as the relative luminance. The corresponding whitepoint values for X and Z can then be inferred using the standard illuminants.

Since the XYZ values are defined much earlier than the characterization of cone cells in the 1950s (by Ragnar Granit), the physiological meaning of these values are known only much later. The Hunt-Pointer-Estevez matrix from the 1980s relates XYZ with LMS. When inverted, it shows how the three cone responses add up to XYZ functions:

[ X Y Z ] = [ 1 .910 20 1 .112 12 0 .201 91 0 .370 95 0 .629 05 0 0 0 1 .000 00 ] [ L M S ] H P E {\displaystyle {\begin{bmatrix}X\\Y\\Z\end{bmatrix}}=\left{\begin{bmatrix}L\\M\\S\end{bmatrix}}_{\rm {HPE}}}

In other words, the Z value is solely made up of the S cone response, the Y value a mix of L and M responses, and X value a mix of all three. This fact makes XYZ values analogous to, but different from, the LMS cone responses of the human eye.

CIE standard observer

Due to the distribution of cones in the eye, the tristimulus values depend on the observer's field of view. To eliminate this variable, the CIE defined a color-mapping function called the standard (colorimetric) observer, to represent an average human's chromatic response within a 2° arc inside the fovea. This angle was chosen owing to the belief that the color-sensitive cones resided within a 2° arc of the fovea. Thus the CIE 1931 Standard Observer function is also known as the CIE 1931 2° Standard Observer. A more modern but less-used alternative is the CIE 1964 10° Standard Observer, which is derived from the work of Stiles and Burch, and Speranskaya.

For the 10° experiments, the observers were instructed to ignore the central 2° spot. The 1964 Supplementary Standard Observer function is recommended when dealing with more than about a 4° field of view. Both standard observer functions are discretized at 5 nm wavelength intervals from 380 nm to 780 nm and distributed by the CIE. All corresponding values have been calculated from experimentally obtained data using interpolation. The standard observer is characterized by three color matching functions.

There is also a 1 nm-interval dataset of CIE 1931 and CIE 1964 provided by Wyszecki 1982. A CIE publication in 1986 appears also to have a 1 nm dataset, probably using the same data. Like the regular 5 nm dataset, this dataset is also derived from interpolation.

The derivation of the CIE standard observer from color matching experiments is given below, after the description of the CIE RGB space.

Color matching functions

The CIE XYZ standard observer color matching functions
The normalized CIE RGB color matching functions

The CIE's color matching functions x ¯ ( λ ) {\displaystyle {\overline {x}}(\lambda )} , y ¯ ( λ ) {\displaystyle {\overline {y}}(\lambda )} and z ¯ ( λ ) {\displaystyle {\overline {z}}(\lambda )} are the numerical description of the chromatic response of the observer (described above). They can be thought of as the spectral sensitivity curves of three linear light detectors yielding the CIE tristimulus values X, Y and Z. Collectively, these three functions describe the CIE standard observer.

Analytical approximation

Table lookup can become impractical for some computational tasks. Instead of referring to the published table, the CIE XYZ color matching functions can be approximated by a sum of Gaussian functions, as follows:

Let g(x) denote a piecewise-Gaussian function, defined by

g ( x ; μ , τ 1 , τ 2 ) = { exp ( τ 1 2 ( x μ ) 2 / 2 ) , x < μ , exp ( τ 2 2 ( x μ ) 2 / 2 ) , x μ . {\displaystyle g(x;\mu ,\tau _{1},\tau _{2})={\begin{cases}\exp {\bigl (}{-\tau _{1}^{2}(x-\mu )^{2}/2}{\bigr )},&x<\mu ,\\\exp {\bigl (}{-\tau _{2}^{2}(x-\mu )^{2}/2}{\bigr )},&x\geq \mu .\end{cases}}}

That is, g(x) resembles a bell curve with its peak at x = μ, a spread/standard deviation of 1 / τ 1 {\displaystyle 1/\tau _{1}} to the left of the mean, and spread of 1 / τ 2 {\displaystyle 1/\tau _{2}} to the right of the mean. With the wavelength λ measured in nanometers, we then approximate the 1931 color matching functions:

x ¯ ( λ ) = 1.056 g ( λ ; 599.8 , 0.0264 , 0.0323 ) + 0.362 g ( λ ; 442.0 , 0.0624 , 0.0374 ) 0.065 g ( λ ; 501.1 , 0.0490 , 0.0382 ) , y ¯ ( λ ) = 0.821 g ( λ ; 568.8 , 0.0213 , 0.0247 ) + 0.286 g ( λ ; 530.9 , 0.0613 , 0.0322 ) , z ¯ ( λ ) = 1.217 g ( λ ; 437.0 , 0.0845 , 0.0278 ) + 0.681 g ( λ ; 459.0 , 0.0385 , 0.0725 ) . {\displaystyle {\begin{aligned}{\overline {x}}(\lambda )&=1.056\,g(\lambda ;599.8,0.0264,0.0323)+0.362\,g(\lambda ;442.0,0.0624,0.0374)\\&\quad -0.065\,g(\lambda ;501.1,0.0490,0.0382),\\{\overline {y}}(\lambda )&=0.821\,g(\lambda ;568.8,0.0213,0.0247)+0.286\,g(\lambda ;530.9,0.0613,0.0322),\\{\overline {z}}(\lambda )&=1.217\,g(\lambda ;437.0,0.0845,0.0278)+0.681\,g(\lambda ;459.0,0.0385,0.0725).\end{aligned}}}

The squared differences between the above approximation and the measured CIE xyz color matching functions is less than the within-observer variance encountered in the experimental measurements used to form the CIE standards. It is also possible to use fewer gaussian functions, with one gaussian for each "lobe". CIE 1964 fits well with a one-lobe function.

The CIE XYZ color matching functions are nonnegative, and lead to nonnegative XYZ coordinates for all real colors (that is, for nonnegative light spectra). Other observers, such as for the CIE RGB space or other RGB color spaces, are defined by other sets of three color-matching functions, not generally nonnegative, and lead to tristimulus values in those other spaces, which may include negative coordinates for some real colors.

Computing XYZ from spectral data

Emissive case

The tristimulus values for a color with a spectral radiance Le,Ω,λ are given in terms of the standard observer by:

X = λ L e , Ω , λ ( λ ) x ¯ ( λ ) d λ , Y = λ L e , Ω , λ ( λ ) y ¯ ( λ ) d λ , Z = λ L e , Ω , λ ( λ ) z ¯ ( λ ) d λ . {\displaystyle {\begin{aligned}X&=\int _{\lambda }L_{\mathrm {e} ,\Omega ,\lambda }(\lambda )\,{\overline {x}}(\lambda )\,d\lambda ,\\Y&=\int _{\lambda }L_{\mathrm {e} ,\Omega ,\lambda }(\lambda )\,{\overline {y}}(\lambda )\,d\lambda ,\\Z&=\int _{\lambda }L_{\mathrm {e} ,\Omega ,\lambda }(\lambda )\,{\overline {z}}(\lambda )\,d\lambda .\end{aligned}}}

where λ {\displaystyle \lambda } is the wavelength of the equivalent monochromatic light (measured in nanometers), and customary limits of the integral are λ [ 380 , 780 ] {\displaystyle \lambda \in } .

The values of X, Y, and Z are bounded if the radiance spectrum Le,Ω,λ is bounded.

Reflective and transmissive cases

The reflective and transmissive cases are very similar to the emissive case, with a few differences. The spectral radiance Le,Ω,λ is replaced by the spectral reflectance (or transmittance) S(λ) of the object being measured, multiplied by the spectral power distribution of the illuminant I(λ).

X = K N λ S ( λ ) I ( λ ) x ¯ ( λ ) d λ , Y = K N λ S ( λ ) I ( λ ) y ¯ ( λ ) d λ , Z = K N λ S ( λ ) I ( λ ) z ¯ ( λ ) d λ , {\displaystyle {\begin{aligned}X&={\frac {K}{N}}\int _{\lambda }S(\lambda )\,I(\lambda )\,{\overline {x}}(\lambda )\,d\lambda ,\\Y&={\frac {K}{N}}\int _{\lambda }S(\lambda )\,I(\lambda )\,{\overline {y}}(\lambda )\,d\lambda ,\\Z&={\frac {K}{N}}\int _{\lambda }S(\lambda )\,I(\lambda )\,{\overline {z}}(\lambda )\,d\lambda ,\end{aligned}}}

where

N = λ I ( λ ) y ¯ ( λ ) d λ , {\displaystyle N=\int _{\lambda }I(\lambda )\,{\overline {y}}(\lambda )\,d\lambda ,}

K is a scaling factor (usually 1 or 100), and λ {\displaystyle \lambda } is the wavelength of the equivalent monochromatic light (measured in nanometers), and the standard limits of the integral are λ [ 380 , 780 ] {\displaystyle \lambda \in } .

CIE xy chromaticity diagram and the CIE xyY color space

This section does not cite any sources. Please help improve this section by adding citations to reliable sources. Unsourced material may be challenged and removed. (October 2015) (Learn how and when to remove this message)
The CIE 1931 color space chromaticity diagram. The outer curved boundary is the spectral (or monochromatic) locus, with wavelengths shown in nanometers. The colors your screen displays in this image are specified using sRGB, so the colors outside the sRGB gamut are not displayed properly. Depending on the color space and calibration of your display device, the sRGB colors may not be displayed properly either. This diagram displays the maximally saturated bright colors that can be produced by a computer monitor or television set.
The CIE 1931 color space chromaticity diagram rendered in terms of the colors of lower saturation and value than those displayed in the diagram above that can be produced by pigments, such as those used in printing. The color names are from the Munsell color system. The solid curve with dots on it, through the middle, is the Planckian locus, with the dots corresponding to a few select black-body temperatures that are indicated just above the x-axis.

Since the human eye has three types of color sensors that respond to different ranges of wavelengths, a full plot of all visible colors is a three-dimensional figure. However, the concept of color can be divided into two parts: brightness and chromaticity. For example, the color white is a bright color, while the color grey is considered to be a less bright version of that same white. In other words, the chromaticity of white and grey are the same while their brightness differs.

The CIE XYZ color space was deliberately designed so that the Y parameter is also a measure of the luminance of a color. The chromaticity is then specified by the two derived parameters x and y, two of the three normalized values being functions of all three tristimulus values X, Y, and Z:

x = X X + Y + Z y = Y X + Y + Z z = Z X + Y + Z = 1 x y {\displaystyle {\begin{aligned}x&={\frac {X}{X+Y+Z}}\\y&={\frac {Y}{X+Y+Z}}\\z&={\frac {Z}{X+Y+Z}}=1-x-y\end{aligned}}}

That is, because each tristimulus parameter, X, Y, Z, is divided by the sum of all three, the resulting values, x, y, z, each represent a proportion of the whole and so their sum must be equal to one. Therefore, the value z can be deduced by knowing x and y, and consequently the latter two values are sufficient for describing the chromaticity of any color.

The derived color space specified by x, y, and Y is known as the CIE xyY color space and is widely used to specify colors in practice.

The X and Z tristimulus values can be calculated back from the chromaticity values x and y and the Y tristimulus value:

X = Y y x , Z = Y y ( 1 x y ) . {\displaystyle {\begin{aligned}X&={\frac {Y}{y}}x,\\Z&={\frac {Y}{y}}(1-x-y).\end{aligned}}}

The figure on the right shows the related chromaticity diagram. The outer curved boundary is the spectral locus, with wavelengths shown in nanometers. The chromaticity diagram is a tool to specify how the human eye will experience light with a given spectrum. It cannot specify colors of objects (or printing inks), since the chromaticity observed while looking at an object depends on the light source as well.

Mathematically the colors of the chromaticity diagram occupy a region of the real projective plane.

The chromaticity diagram illustrates a number of interesting properties of the CIE XYZ color space:

  • The diagram represents all of the chromaticities visible to the average person. These are shown in color and this region is called the gamut of human vision. The gamut of all visible chromaticities on the CIE plot is the tongue-shaped or horseshoe-shaped figure shown in color. The curved edge of the gamut is called the spectral locus and corresponds to monochromatic light (each point representing a pure hue of a single wavelength), with wavelengths listed in nanometers. The straight edge on the lower part of the gamut is called the line of purples. These colors, although they are on the border of the gamut, have no counterpart in monochromatic light. Less saturated colors appear in the interior of the figure with white at the center.
  • It is seen that all visible chromaticities correspond to non-negative values of x, y, and z (and therefore to non-negative values of X, Y, and Z).
  • If one chooses any two points of color on the chromaticity diagram, then all the colors that lie in a straight line between the two points can be formed by mixing these two colors. It follows that the gamut of colors must be convex in shape. All colors that can be formed by mixing three sources are found inside the triangle formed by the source points on the chromaticity diagram (and so on for multiple sources).
  • An equal mixture of two equally bright colors will not generally lie on the midpoint of that line segment. In more general terms, a distance on the CIE xy chromaticity diagram does not correspond to the degree of difference between two colors. In the early 1940s, David MacAdam studied the nature of visual sensitivity to color differences, and summarized his results in the concept of a MacAdam ellipse. Based on the work of MacAdam, the CIE 1960, CIE 1964, and CIE 1976 color spaces were developed, with the goal of achieving perceptual uniformity (have an equal distance in the color space correspond to equal differences in color). Although they were a distinct improvement over the CIE 1931 system, they were not completely free of distortion.
  • It can be seen that, given three real sources, these sources cannot cover the gamut of human vision. Geometrically stated, there are no three points within the gamut that form a triangle that includes the entire gamut; or more simply, the gamut of human vision is not a triangle.
  • Light with a flat power spectrum in terms of wavelength (equal power in every 1 nm interval) corresponds to the point (x, y) = (1/3, 1/3).

Mixing colors specified with the CIE xy chromaticity diagram

When two or more colors are additively mixed, the x and y chromaticity coordinates of the resulting color (xmix,ymix) may be calculated from the chromaticities of the mixture components (x1,y1; x2,y2; …; xn,yn) and their corresponding luminances (L1, L2, …, Ln) with the following formulas:

x m i x = x 1 y 1 L 1 + x 2 y 2 L 2 + + x n y n L n L 1 y 1 + L 2 y 2 + + L n y n , y m i x = L 1 + L 2 + + L n L 1 y 1 + L 2 y 2 + + L n y n {\displaystyle x_{\mathrm {mix} }={\frac {{\dfrac {x_{1}}{y_{1}}}L_{1}+{\dfrac {x_{2}}{y_{2}}}L_{2}+\dots +{\dfrac {x_{n}}{y_{n}}}L_{n}}{{\dfrac {L_{1}}{y_{1}}}+{\dfrac {L_{2}}{y_{2}}}+\dots +{\dfrac {L_{n}}{y_{n}}}}}\quad ,\quad y_{\mathrm {mix} }={\frac {L_{1}+L_{2}+\dots +L_{n}}{{\dfrac {L_{1}}{y_{1}}}+{\dfrac {L_{2}}{y_{2}}}+\dots +{\dfrac {L_{n}}{y_{n}}}}}}

These formulas can be derived from the previously presented definitions of x and y chromaticity coordinates by taking advantage of the fact that the tristimulus values X, Y, and Z of the individual mixture components are directly additive. In place of the luminance values (L1, L2, etc.) one can alternatively use any other photometric quantity that is directly proportional to the tristimulus value Y (naturally meaning that Y itself can also be used as well).

As already mentioned, when two colors are mixed, the resulting color xmix, ymix will lie on the straight line segment that connects these colors on the CIE xy chromaticity diagram. To calculate the mixing ratio of the component colors x1,y1 and x2,y2 that results in a certain xmix,ymix on this line segment, one can use the formula

L 1 L 2 = y 1 ( x 2 x m i x ) y 2 ( x m i x x 1 ) = y 1 ( y 2 y m i x ) y 2 ( y m i x y 1 ) {\displaystyle {\frac {L_{1}}{L_{2}}}={\frac {y_{1}\left(x_{2}-x_{\mathrm {mix} }\right)}{y_{2}\left(x_{\mathrm {mix} }-x_{1}\right)}}={\frac {y_{1}\left(y_{2}-y_{\mathrm {mix} }\right)}{y_{2}\left(y_{\mathrm {mix} }-y_{1}\right)}}}

where L1 is the luminance of color x1,y1 and L2 the luminance of color x2,y2. Because ymix is unambiguously determined by xmix and vice versa, knowing just one or the other of them is enough for calculating the mixing ratio. In accordance with the remarks concerning the formulas for xmix and ymix, the mixing ratio L1/L2 may well be expressed in terms of other photometric quantities than luminance.

Definition of the CIE XYZ color space

CIE RGB color space

The first step in developing the CIE XYZ color space is the measurement of the CIE RGB color space. The CIE RGB color space is one of many RGB color spaces, distinguished by a particular set of monochromatic (single-wavelength) primary colors.

In the 1920s, two independent experiments on human color perception were conducted by W. David Wright with ten observers, and John Guild with seven observers. Their results laid the foundation for the trichromatic CIE XYZ color space specification.

The experiments were conducted by using a circular split screen (a bipartite field) 2 degrees in diameter, which is the angular size of the human fovea. On one side a test color was projected while on the other an observer-adjustable color was projected. The adjustable color was a mixture of the three monochromatic primary colors, each with adjustable brightness. The observer would alter the brightness of each of the three primary beams until a match to the test color was observed.

Gamut of the CIE RGB primaries and location of primaries on the CIE 1931 xy chromaticity diagram
The normalized CIE RGB color matching functions, with primary wavelengths indicated

If the test color were simply a monochromatic color at wavelength λ, and if it could be matched by a combination of the three primaries at relative intensities r ¯ ( λ ) {\displaystyle {\bar {r}}(\lambda )} , g ¯ ( λ ) {\displaystyle {\bar {g}}(\lambda )} , and b ¯ ( λ ) {\displaystyle {\bar {b}}(\lambda )} respectively, then a tabulation of these values at various λ will estimate three functions of wavelength. These are the RGB color-matching functions. Any spectral distribution can be thought of as a combination of a number of monochromatic sources at varying intensities, so that (by Grassmann's laws) integrating the color matching functions with that spectral distribution will yield the intensities of the three primaries necessary to match it. The problem is that the three primaries can only produce colors which lie withinin their gamut - the triangle in color space formed by the primaries, which never touches the monochromatic locus nor the purple line except at the three primaries. In other words, there is no monochromatic source that can be matched by a combination of the three primaries, except at the wavelengths of the three primaries themselves. However, by adding one of the primaries to the monochromatic test color, the test color can be brought into the RGB gamut, allowing a match to be made. Adding a primary to the monochromatic test color is effectively the same as subtracting it from the adjustable color, which of course cannot be done since it is impossible to have a negative intensity for any of the primaries.

For wavelengths between the blue and green primaries, some red primary must be added to allow matching, resulting in negative values of r ¯ ( λ ) {\displaystyle {\bar {r}}(\lambda )} . Likewise, between the green and red primaries, some blue must be added and b ¯ ( λ ) {\displaystyle {\bar {b}}(\lambda )} will be negative. For wavelengths below the wavelength of the blue primary, or above the wavelength of the red primary, some green must be added and g ¯ ( λ ) {\displaystyle {\bar {g}}(\lambda )} will be negative. In each case, the remaining two color matching functions will be positive. It can be seen that the deviation of the RGB gamut from the complete gamut is rather small except between the blue and green primaries at 435.8 and 546.1 nm. In this wavelength band, rather large amounts of the red primary needed to be added to the test color, and it is in this band that the red color matching function has rather large negative values. In their regions of negative values, the green and blue matching functions have rather small negative values.

Although Wright and Guild's experiments were carried out using various primaries at various intensities, and although they used a number of different observers, all of their results were summarized by the standardized CIE RGB color matching functions r ¯ ( λ ) {\displaystyle {\overline {r}}(\lambda )} , g ¯ ( λ ) {\displaystyle {\overline {g}}(\lambda )} , and b ¯ ( λ ) {\displaystyle {\overline {b}}(\lambda )} , obtained using three monochromatic primaries at standardized wavelengths of 700 nm (red), 546.1 nm (green) and 435.8 nm (blue). The (un-normalized) color matching functions are the amounts of primaries needed to match the monochromatic test primary. These functions are shown in the plot on the right (CIE 1931). r ¯ ( λ ) {\displaystyle {\overline {r}}(\lambda )} and g ¯ ( λ ) {\displaystyle {\overline {g}}(\lambda )} are zero at 435.8 nm, r ¯ ( λ ) {\displaystyle {\overline {r}}(\lambda )} and b ¯ ( λ ) {\displaystyle {\overline {b}}(\lambda )} are zero at 546.1 nm and g ¯ ( λ ) {\displaystyle {\overline {g}}(\lambda )} and b ¯ ( λ ) {\displaystyle {\overline {b}}(\lambda )} are zero at 700 nm, since in these cases the test color is one of the primaries. The primaries with wavelengths 546.1 nm and 435.8 nm were chosen because they are easily reproducible monochromatic lines of a mercury vapor discharge. The 700 nm wavelength, which in 1931 was difficult to reproduce as a monochromatic beam, was chosen because the eye's perception of color is rather unchanging at this wavelength, and therefore small errors in wavelength of this primary would have little effect on the results.

The color matching functions and primaries were settled upon by a CIE special commission after considerable deliberation. The cut-offs at the short- and long-wavelength side of the diagram are chosen somewhat arbitrarily; the human eye can actually see light with wavelengths up to about 810 nm, but with a sensitivity that is many thousand times lower than for green light. These color matching functions define what is known as the "1931 CIE standard observer". Rather than specify the brightness of each primary, the curves are normalized to have constant area beneath them. This area is fixed to a particular value by specifying that

0 r ¯ ( λ ) d λ = 0 g ¯ ( λ ) d λ = 0 b ¯ ( λ ) d λ . {\displaystyle \int _{0}^{\infty }{\overline {r}}(\lambda )\,d\lambda =\int _{0}^{\infty }{\overline {g}}(\lambda )\,d\lambda =\int _{0}^{\infty }{\overline {b}}(\lambda )\,d\lambda .}

The resulting normalized color matching functions are then scaled in the r:g:b ratio of 1:4.5907:0.0601 for source luminance and 72.0962:1.3791:1 for source radiance to reproduce the true color matching functions. By proposing that the primaries be standardized, the CIE established an international system of objective color notation.

Given these scaled color matching functions, the RGB tristimulus values for a color with a spectral power distribution S ( λ ) {\displaystyle S(\lambda )} would then be given by:

R = 0 S ( λ ) r ¯ ( λ ) d λ , G = 0 S ( λ ) g ¯ ( λ ) d λ , B = 0 S ( λ ) b ¯ ( λ ) d λ . {\displaystyle {\begin{aligned}R&=\int _{0}^{\infty }S(\lambda )\,{\overline {r}}(\lambda )\,d\lambda ,\\G&=\int _{0}^{\infty }S(\lambda )\,{\overline {g}}(\lambda )\,d\lambda ,\\B&=\int _{0}^{\infty }S(\lambda )\,{\overline {b}}(\lambda )\,d\lambda .\end{aligned}}}

These are all inner products and can be thought of as a projection of an infinite-dimensional spectrum to a three-dimensional color.

Grassmann's Laws

Main article: Grassmann's laws (color science)

One might ask: "Why is it possible that Wright and Guild's results can be summarized using different primaries and different intensities from those actually used?" One might also ask: "What about the case when the test colors being matched are not monochromatic?" The answer to both of these questions lies in the (near) linearity of human color perception. This linearity is expressed in Grassmann's laws of color.

The CIE RGB space can be used to define chromaticity in the usual way: The chromaticity coordinates are r, g and b where:

r = R R + G + B , g = G R + G + B , b = B R + G + B . {\displaystyle {\begin{aligned}r&={\frac {R}{R+G+B}},\\g&={\frac {G}{R+G+B}},\\b&={\frac {B}{R+G+B}}.\end{aligned}}}

Construction of the CIE XYZ color space from the Wright–Guild data

The sRGB gamut (left) and visible gamut under D65 illumination (right) projected within the CIEXYZ color space. X and Z are the horizontal axes; Y is the vertical axis. The sRGB gamut (left) and visible gamut under D65 illumination (right) projected within the CIExyY color space. x and y are the horizontal axes; Y is the vertical axis.

Having developed an RGB model of human vision using the CIE RGB matching functions, the members of the special commission wished to develop another color space that would relate to the CIE RGB color space. It was assumed that Grassmann's law held, and the new space would be related to the CIE RGB space by a linear transformation. The new space would be defined in terms of three new color matching functions x ¯ ( λ ) {\displaystyle {\overline {x}}(\lambda )} , y ¯ ( λ ) {\displaystyle {\overline {y}}(\lambda )} , and z ¯ ( λ ) {\displaystyle {\overline {z}}(\lambda )} as described above. The new color space would be chosen to have the following desirable properties:

Diagram in CIE rg chromaticity space showing the construction of the triangle specifying the CIE XYZ color space. The triangle Cb-Cg-Cr is just the xy = (0, 0), (0, 1), (1, 0) triangle in CIE xy chromaticity space. The line connecting Cb and Cr is the alychne. The spectral locus passes through rg = (0, 0) at 435.8 nm, through rg = (0, 1) at 546.1 nm and through rg = (1, 0) at 700 nm. Also, the equal energy point (E) is at rg = xy = (1/3, 1/3).
  1. The new color matching functions were to be everywhere greater than or equal to zero. In 1931, computations were done by hand or slide rule, and the specification of positive values was a useful computational simplification.
  2. The y ¯ ( λ ) {\displaystyle {\overline {y}}(\lambda )} color matching function would be exactly equal to the photopic luminous efficiency function V(λ) for the "CIE standard photopic observer". The luminance function describes the variation of perceived brightness with wavelength. The fact that the luminance function could be constructed by a linear combination of the RGB color matching functions was not guaranteed by any means but might be expected to be nearly true due to the near-linear nature of human sight. Again, the main reason for this requirement was computational simplification.
  3. For the constant energy white point, it was required that x = y = z = 1/3.
  4. By virtue of the definition of chromaticity and the requirement of positive values of x and y, it can be seen that the gamut of all colors will lie inside the triangle , , . It was required that the gamut fill this space practically completely.
  5. It was found that the z ¯ ( λ ) {\displaystyle {\overline {z}}(\lambda )} color matching function could be set to zero above 650 nm while remaining within the bounds of experimental error. For computational simplicity, it was specified that this would be so.

In geometrical terms, choosing the new color space amounts to choosing a new triangle in rg chromaticity space. In the figure above-right, the rg chromaticity coordinates are shown on the two axes in black, along with the gamut of the 1931 standard observer. Shown in red are the CIE xy chromaticity axes which were determined by the above requirements. The requirement that the XYZ coordinates be non-negative means that the triangle formed by Cr, Cg, Cb must encompass the entire gamut of the standard observer. The line connecting Cr and Cb is fixed by the requirement that the y ¯ ( λ ) {\displaystyle {\overline {y}}(\lambda )} function be equal to the luminance function. This line is the line of zero luminance, and is called the alychne. The requirement that the z ¯ ( λ ) {\displaystyle {\overline {z}}(\lambda )} function be zero above 650 nm means that the line connecting Cg and Cr must be tangent to the gamut in the region of Kr. This defines the location of point Cr. The requirement that the equal energy point be defined by x = y = 1/3 puts a restriction on the line joining Cb and Cg, and finally, the requirement that the gamut fill the space puts a second restriction on this line to be very close to the gamut in the green region, which specifies the location of Cg and Cb. The above described transformation is a linear transformation from the CIE RGB space to XYZ space. The standardized transformation settled upon by the CIE special commission was as follows:

The numbers in the conversion matrix below are exact, with the number of digits specified in CIE standards.

[ X Y Z ] = [ b 11 b 12 b 13 b 21 b 22 b 23 b 31 b 32 b 33 ] [ R G B ] = [ 0.490 00 0.310 00 0.200 00 0.176 97 0.812 40 0.010 63 0.000 00 0.010 00 0.990 00 ] [ R G B ] {\displaystyle {\begin{aligned}{\begin{bmatrix}X\\Y\\Z\end{bmatrix}}&={\begin{bmatrix}b_{11}&b_{12}&b_{13}\\b_{21}&b_{22}&b_{23}\\b_{31}&b_{32}&b_{33}\end{bmatrix}}{\begin{bmatrix}R\\G\\B\end{bmatrix}}\\&={\begin{bmatrix}0.490\,00&0.310\,00&0.200\,00\\0.176\,97&0.812\,40&0.010\,63\\0.000\,00&0.010\,00&0.990\,00\end{bmatrix}}{\begin{bmatrix}R\\G\\B\end{bmatrix}}\end{aligned}}}

The above matrix is balanced for the equi-energy stimulus: it has coordinates (1,1,1) in both RGB and XYZ coordinates.

While the above matrix is exactly specified in standards, the inverse is left unspecified so that it can be approximated to machine precision to reduce round-trip rounding errors. Its values can be computed precisely using rational numbers:

[ R G B ] = 1 3400850 [ 8041697 3049000 1591847 1752003 4851000 301853 17697 49000 3432153 ] [ X Y Z ] {\displaystyle {\begin{bmatrix}R\\G\\B\end{bmatrix}}={\frac {1}{3400850}}{\begin{bmatrix}8041697&-3049000&-1591847\\-1752003&4851000&301853\\17697&-49000&3432153\end{bmatrix}}{\begin{bmatrix}X\\Y\\Z\end{bmatrix}}}

Which has these approximate values:

[ R G B ] [ 2.364 61385 0.896 54057 0.468 07328 0.515 16621 1.426 4081 0.088 7581 0.005 2037 0.014 40816 1.009 20446 ] [ X Y Z ] {\displaystyle {\begin{bmatrix}R\\G\\B\end{bmatrix}}\approx {\begin{bmatrix}2.364\,61385&-0.896\,54057&-0.468\,07328\\-0.515\,16621&1.426\,4081&0.088\,7581\\0.005\,2037&-0.014\,40816&1.009\,20446\end{bmatrix}}{\begin{bmatrix}X\\Y\\Z\end{bmatrix}}}

The XYZ primaries will have XYZ coordinates , , and in XYZ space, so the columns of the inverse matrix above specify the XYZ primaries ( Cr, Cg and Cb) in RGB space. Dividing each column by its sum will give the coordinates of the XYZ primaries in rgb space which yields:

Cr = {1.27496, -0.27777, 0.00280576}
Cg = {-1.7393, 2.76726, -0.0279521}
Cb = {-0.743104, 0.140911, 1.60219}

The r and g coordinates of the XYZ primaries are indicated in the rg chromaticity space diagram above.

The integrals of the XYZ color matching functions must all be equal by requirement 3 above, and this is set by the integral of the photopic luminous efficiency function by requirement 2 above. The tabulated sensitivity curves have a certain amount of arbitrariness in them. The shapes of the individual X, Y and Z sensitivity curves can be measured with a reasonable accuracy. However, the overall luminosity curve (which in fact is a weighted sum of these three curves) is subjective, since it involves asking a test person whether two light sources have the same brightness, even if they are in completely different colors. Along the same lines, the relative magnitudes of the X, Y, and Z curves are arbitrary. Furthermore, one could define a valid color space with an X sensitivity curve that has twice the amplitude. This new color space would have a different shape. The sensitivity curves in the CIE 1931 and 1964 XYZ color spaces are scaled to have equal areas under the curves.

Subsequent refinements

XYZ color matching functions, CIE 1931 and Stockman & Sharpe 2006 (CIE 170-2)

A few other XYZ-style color-matching functions have been available, correcting for known issues in the original 1931 color space. These functions imply their own XYZ-like and xyY-like color spaces.

Judd and Vos corrections for the 2° CMF
The most serious problem with the 1931 CIE XYZ color matching functions is the error in the photopic Y (or V ( λ ) {\displaystyle V(\lambda )} function on the blue end of the spectrum. The Judd (1951) and its following Vos (1978) corrections sought to correct for the issue without deviating from the original methodology.
CIE 1964 X10Y10Z10
X10Y10Z10 (also written XYZ10 and analogously for the following) is the XYZ-style color space defined using the CIE 1964 10° observer CMFs. The 3 CMFs are mainly derived from Stiles and Burch's RGB color-matching functions, which unlike the Wright–Guild functions (and the subsequent Judd–Vos corrections) are "directly measured", freeing them from the reconstruction errors of the 1931 functions.
Stiles and Burch also published a set of 2° RGB color-matching functions; however, no XYZ space derived from them has been formally recognized by the CIE.
CIE 170-2 XFYFZF
XFYFZF is the XYZ-style color space defined using the Stockman & Sharpe (2000) physiological 2° observer, which is in turn a linear combination of the LMS cone response functions. The CMF data, along with the physiological 10° dataset, is available from the Colour & Vision Research laboratory of University College London down to 0.1 nm resolution.
CIE 170-2 XF,10YF,10ZF,10
This space is based on the Stockman & Sharpe (2000) physiological 10° observer.

According to Konica Minolta, the older CIE 1931 CMF exhibits metamerism failure (failure to predict when colors appear the same) for wide color gamut displays containing narrowband emitters like OLED, whereas the 2015 XYZF CMF is not affected. Older Sony manuals recommend using the Judd-Vos correction by applying an offset to the white point depending on the display technology used.

See also

References

  1. CIE (1932). Commission internationale de l'Eclairage proceedings, 1931. Cambridge: Cambridge University Press.
  2. Smith, Thomas; Guild, John (1931–32). "The C.I.E. colorimetric standards and their use". Transactions of the Optical Society. 33 (3): 73–134. Bibcode:1931TrOS...33...73S. doi:10.1088/1475-4878/33/3/301.
  3. ^ Wright, William David (1928). "A re-determination of the trichromatic coefficients of the spectral colors". Transactions of the Optical Society. 30 (4): 141–164. doi:10.1088/1475-4878/30/4/301.
  4. ^ Guild, J. (1932). "The colorimetric properties of the spectrum". Philosophical Transactions of the Royal Society of London. Series A, Containing Papers of a Mathematical or Physical Character. 230 (681–693): 149–187. Bibcode:1932RSPTA.230..149G. doi:10.1098/rsta.1932.0005. JSTOR 91229. The trichromatic coefficients for ten observers agreed so closely with those of the seven observers examined at the National Physical Laboratory as to indicate that both groups must give results approximating more closely to 'normal' than might have been expected from the size of either group
  5. "- YouTube". YouTube. Archived from the original on 2016-03-17. Retrieved 2015-10-17. Tristimulus Value of Color: Device Independent Color Representation
  6. Hunt, R. W. (1998). Measuring Colour (3rd ed.). England: Fountain Press. ISBN 0-86343-387-1.. See pgs. 39–46 for the basis in the physiology of the human eye of tripartite color models, and 54–7 for chromaticity coordinates.
  7. "Ragnar Granit - Sensory Structure of Retina and Vision". www.japi.org.
  8. Schanda, János, ed. (2007-07-27). Colorimetry. p. 305. doi:10.1002/9780470175637. ISBN 9780470175637.
  9. Stiles, W. S.; Birch, J. M. (1959). "N.P.L. Colour-matching Investigation: Final Report (1958)". Optica Acta. 6 (1): 1–26. Bibcode:1959AcOpt...6....1S. doi:10.1080/713826267.
  10. Speranskaya, N. I. (1959). "Determination of spectrum color co-ordinates for twenty seven normal observers". Optics and Spectroscopy. 7: 424–428.
  11. "CIE Free Documents for Download". Archived from the original on 2017-08-28. Retrieved 2017-08-28.
  12. Glynn, Earl F. "Chromaticity Diagrams Lab Repor".
  13. "CIE 15: Technical Report: Colorimetry, 3rd edition". The definitive data relating to standard colorimetric illuminants and observers are those given at 1 nm intervals in the appropriate CIE standards .
  14. Harris, A. C.; Weatherall, I. L. (September 1990). "Objective evaluation of color variation in the sand-burrowing beetle Chaerodes trachyscelides White (Coleoptera: Tenebrionidae) by instrumental determination of CIE LAB values". Journal of the Royal Society of New Zealand. 20 (3). The Royal Society of New Zealand: 253–259. Bibcode:1990JRSNZ..20..253H. doi:10.1080/03036758.1990.10416819. Archived from the original on 2017-03-08.
  15. ^ Wyman, Chris; Sloan, Peter-Pike; Shirley, Peter (July 12, 2013). "Simple Analytic Approximations to the CIE XYZ Color Matching Functions". Journal of Computer Graphics Techniques. 2 (2): 1-11. ISSN 2331-7418.
  16. Poynton, Charles (2012). Digital Video and HD - Algorithms and Interfaces (2 ed.). p. 275. Eq 25.1
  17. Poynton, Charles (2012). Digital Video and HD - Algorithms and Interfaces (2 ed.). p. 275. Eq 25.2
  18. "Understand color science to maximize success with LEDs – part 2 – LEDs Magazine, Issue 7/2012". 18 July 2012. Archived from the original on 2017-11-11.
  19. ^ Fairman, H. S.; Brill, M. H.; Hemmendinger, H. (February 1997). "How the CIE 1931 Color-Matching Functions Were Derived from the Wright–Guild Data". Color Research and Application. 22 (1): 11–23. doi:10.1002/(SICI)1520-6378(199702)22:1<11::AID-COL4>3.0.CO;2-7. and Fairman, H. S.; Brill, M. H.; Hemmendinger, H. (August 1998). "Erratum: How the CIE 1931 Color-Matching Functions Were Derived from the Wright–Guild Data". Color Research and Application. 23 (4): 259. doi:10.1002/(SICI)1520-6378(199808)23:4<259::AID-COL18>3.0.CO;2-7.
  20. CIE (1926). Commission internationale de l'éclairage proceedings, 1924. Cambridge: Cambridge University Press. The 1924 luminous efficiency function seriously underestimates sensitivity at wavelengths below 460 nm, and has been supplemented with newer and more accurate luminosity curves; see Luminosity function#Improvements to the standard.
  21. ^ "CMF introduction". Colour & Vision Research Laboratory. Institute of Ophthalmology, University College London. Archived from the original on Nov 19, 2023.
  22. Stockman, Andrew (December 2019). "Cone fundamentals and CIE standards" (PDF). Current Opinion in Behavioral Sciences. 30: 87–93. doi:10.1016/j.cobeha.2019.06.005. Retrieved 27 October 2023.
  23. Vos, J.J. (Sep 1978). "Colorimetric and photometric properties of a 2° fundamental observer". Color Research & Application. 3 (3): 104–156. doi:10.1002/col.5080030309.
  24. "XYZ Tristimulus Value (CIE 1931) / Tristimulus Value (CIE 1964) - Part IV - Precise Color Communication". KONICA MINOLTA. Archived from the original on Nov 19, 2023.
  25. Stiles, WS; Burch, JM (1959). "NPL colour-matching investigation: final report". Optica Acta. 6 (1). Bibcode:1959AcOpt...6....1S. doi:10.1080/713826267.
  26. ^ CIE 170-2:2015: Fundamental Chromaticity Diagram with Physiological Axes – Part 2: Spectral Luminous Efficiency Functions and Chromaticity Diagrams. CIE. ISBN 978-3-902842-05-3. Archived from the original on Nov 19, 2023.
  27. "CIE functions". Colour & Vision Research Laboratory. Institute of Ophthalmology, University College London. Archived from the original on Nov 19, 2023.
  28. "Resolving Display Color Matching Issue" (PDF). KONICA MINOLTA.

Further reading

  • Broadbent, Arthur D. (August 2004). "A critical review of the development of the CIE1931 RGB color-matching functions". Color Research & Application. 29 (4): 267–272. doi:10.1002/col.20020. This article describes the development of the CIE1931 chromaticity coordinates and color-matching functions starting from the initial experimental data of W. D. Wright and J. Guild. Sufficient information is given to allow the reader to reproduce and verify the results obtained at each stage of the calculations and to analyze critically the procedures used. Unfortunately, some of the information required for the coordinate transformations was never published and the appended tables provide likely versions of that missing data.
  • Trezona, Pat W. (2001). "Derivation of the 1964 CIE 10° XYZ Colour-Matching Functions and Their Applicability in Photometry". Color Research and Application. 26 (1): 67–75. doi:10.1002/1520-6378(200102)26:1<67::AID-COL7>3.0.CO;2-4.
  • Wright, William David (2007). "Golden Jubilee of Colour in the CIE—The Historical and Experimental Background to the 1931 CIE System of Colorimetry". In Schanda, János (ed.). Colorimetry. Wiley Interscience. pp. 9–24. doi:10.1002/9780470175637.ch2. ISBN 978-0-470-04904-4. (originally published by the Society of Dyers and Colourists, Bradford, 1981.)

External links

Color space
CAM
CIE
RGB
Y′UV
Other
Color systems
and standards
For the vision capacities of organisms or machines, see  Color vision.
Categories: