CIECAM02
   HOME

TheInfoList



OR:

In colorimetry, CIECAM02 is the
color appearance model A color appearance model (CAM) is a mathematical model that seeks to describe the perceptual aspects of human color vision, i.e. viewing conditions under which the appearance of a color does not tally with the corresponding physical measurement o ...
published in 2002 by the
International Commission on Illumination The International Commission on Illumination (usually abbreviated CIE for its French name, Commission internationale de l'éclairage) is the international authority on light, illumination, colour, and colour spaces. It was established in 1913 a ...
(CIE) Technical Committee 8-01 (''Color Appearance Modelling for Color Management Systems'') and the successor of CIECAM97s. The two major parts of the model are its chromatic adaptation transform, CIECAT02, and its equations for calculating mathematical correlates for the six technically defined dimensions of color appearance:
brightness Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target. The perception is not linear to luminance, ...
(
luminance Luminance is a photometric measure of the luminous intensity per unit area of light travelling in a given direction. It describes the amount of light that passes through, is emitted from, or is reflected from a particular area, and falls with ...
),
lightness Lightness is a visual perception of the luminance (L) of an object. It is often judged relative to a similarly lit object. In colorimetry and color appearance models, lightness is a prediction of how an illuminated color will appear to a stan ...
,
colorfulness Colorfulness, chroma and saturation are attributes of perceived color relating to chromatic intensity. As defined formally by the International Commission on Illumination (CIE) they respectively describe three different aspects of chromati ...
, chroma, saturation, and hue.
Brightness Brightness is an attribute of visual perception in which a source appears to be radiating or reflecting light. In other words, brightness is the perception elicited by the luminance of a visual target. The perception is not linear to luminance, ...
is the subjective appearance of how bright an object appears given its surroundings and how it is illuminated.
Lightness Lightness is a visual perception of the luminance (L) of an object. It is often judged relative to a similarly lit object. In colorimetry and color appearance models, lightness is a prediction of how an illuminated color will appear to a stan ...
is the subjective appearance of how light a color appears to be.
Colorfulness Colorfulness, chroma and saturation are attributes of perceived color relating to chromatic intensity. As defined formally by the International Commission on Illumination (CIE) they respectively describe three different aspects of chromati ...
is the degree of difference between a color and gray. Chroma is the colorfulness relative to the brightness of another color that appears white under similar viewing conditions. This allows for the fact that a surface of a given chroma displays increasing colorfulness as the level of illumination increases. Saturation is the colorfulness of a color relative to its own brightness. Hue is the degree to which a stimulus can be described as similar to or different from stimuli that are described as red, green, blue, and yellow, the so-called
unique hues Unique hue is a term used in certain theories of color vision, which implies that human perception distinguishes between "unique" (psychologically primary) and composite (mixed) hues. A unique hue is defined as a color which an observer perceiv ...
. The colors that make up an object’s appearance are best described in terms of lightness and chroma when talking about the colors that make up the object’s surface, and in terms of brightness, saturation and colorfulness when talking about the light that is emitted by or reflected off the object. CIECAM02 takes for its input the tristimulus values of the stimulus, the tristimulus values of an adapting
white point A white point (often referred to as reference white or target white in technical documents) is a set of tristimulus values or chromaticity coordinates that serve to define the color "white" in image capture, encoding, or reproduction. Depending ...
, adapting background, and surround luminance information, and whether or not observers are discounting the
illuminant A standard illuminant is a theoretical source of visible light with a spectral power distribution that is published. Standard illuminants provide a basis for comparing images or colors recorded under different lighting. CIE illuminants The Inter ...
( color constancy is in effect). The model can be used to predict these appearance attributes or, with forward and reverse implementations for distinct viewing conditions, to compute corresponding colors. The Windows Color System introduced in
Windows Vista Windows Vista is a major release of the Windows NT operating system developed by Microsoft. It was the direct successor to Windows XP, which was released five years before, at the time being the longest time span between successive releases of ...
uses Canon's Kyuanos (キュアノス) technology for mapping image gamuts between output devices, which in turn uses CIECAM02 for colour matching.


Viewing conditions

The inner circle is the ''stimulus'', from which the tristimulus values should be measured in CIE XYZ using the 2° standard observer. The intermediate circle is the ''proximal field'', extending out another 2°. The outer circle is the ''background'', reaching out to 10°, from which the relative luminance (Yb) need be measured. If the proximal field is the same color as the background, the background is considered to be adjacent to the stimulus. Beyond the circles which comprise the ''display field'' (''display area'', ''viewing area'') is the ''surround field'' (or ''peripheral area''), which can be considered to be the entire room. The totality of the proximal field, background, and surround is called the ''adapting field'' (the field of view that supports adaptation—extends to the limit of vision). When referring to the literature, it is also useful to be aware of the difference between the terms ''adopted white point'' (the computational
white point A white point (often referred to as reference white or target white in technical documents) is a set of tristimulus values or chromaticity coordinates that serve to define the color "white" in image capture, encoding, or reproduction. Depending ...
) and the ''adapted white point'' (the observer white point). The distinction may be important in mixed mode illumination, where psychophysical phenomena come into play. This is a subject of research.


Parameter decision table

CIECAM02 defines three surround(ing)s – average, dim, and dark – with associated parameters defined here for reference in the rest of this article: * : ratio of the absolute luminance of the ''reference white'' (
white point A white point (often referred to as reference white or target white in technical documents) is a set of tristimulus values or chromaticity coordinates that serve to define the color "white" in image capture, encoding, or reproduction. Depending ...
) measured in the surround field to the display area. The 0.2 coefficient derives from the "gray world" assumption (~18%–20% reflectivity). It tests whether the surround luminance is darker or brighter than medium gray. * ''F'': factor determining degree of adaptation * ''c'': impact of surrounding * ''N''''c'': chromatic induction factor For intermediate conditions, these values can be linearly interpolated. The absolute luminance of the adapting field, which is a quantity that will be needed later, should be measured with a
photometer A photometer is an instrument that measures the strength of electromagnetic radiation in the range from ultraviolet to infrared and including the visible spectrum. Most photometers convert light into an electric current using a photoresistor, ...
. If one is not available, it can be calculated using a reference white: : L_A = \frac \frac = \frac where ''Y''''b'' is the relative luminance of background, the is the illuminance of the reference white in lux, ''L''''W'' is the absolute luminance of the reference white in cd/m2, and ''Y''''w'' is the relative luminance of the reference white in the adapting field. If unknown, the adapting field can be assumed to have average reflectance ("gray world" assumption): . ''Note'': Care should be taken not to confuse ''L''''W'', the absolute
luminance Luminance is a photometric measure of the luminous intensity per unit area of light travelling in a given direction. It describes the amount of light that passes through, is emitted from, or is reflected from a particular area, and falls with ...
of the reference white in cd/m2, and ''L''''w'' the red cone response in the LMS color space.


Chromatic adaptation


Summary

# Convert to the "spectrally sharpened" CAT02 LMS space to prepare for adaptation. ''Spectral sharpening'' is the transformation of the tristimulus values into new values that would have resulted from a sharper, more concentrated set of spectral sensitivities. It is argued that this aids color constancy, especially in the blue region.(Compare Finlayson et al. 94, Spectral Sharpening:Sensor Transformations for Improved Colour Constancy) # Perform chromatic adaptation using CAT02 (also known as the "modified CMCCAT2000 transform"). # Convert to an LMS space closer to the cone fundamentals. It is argued that predicting perceptual attribute correlates is best done in such spaces. # Perform post-adaptation cone response compression.


CAT02

Given a set of tristimulus values in XYZ, the corresponding LMS values can be determined by the M''CAT02'' transformation matrix (calculated using the CIE 1931 2° standard colorimetric observer). The sample color in the ''test'' illuminant is: : \begin L\\ M\\ S \end = \mathbf_\mathit \begin X\\ Y\\ Z \end,\quad \mathbf_\mathit = \begin \;\;\,0.7328 & 0.4296 & -0.1624\\ -0.7036 & 1.6975 & \;\;\,0.0061\\ \;\;\,0.0030 & 0.0136 & \;\;\,0.9834 \end Once in LMS, the white point can be adapted to the desired degree by choosing the parameter ''D''. For the general CAT02, the ''corresponding'' color in the reference illuminant is: :\begin L_c &= \Big(\frac D + 1-D\Big)L\\ M_c &=\Big(\frac D + 1-D\Big)M\\ S_c &= \Big(\frac D + 1-D\Big)S\\ \end where the factor accounts for the two illuminants having the same chromaticity but different reference whites. The subscripts indicate the cone response for white under the test (''w'') and reference illuminant (''wr''). The degree of adaptation (discounting) ''D'' can be set to zero for no adaptation (stimulus is considered self-luminous) and unity for complete adaptation ( color constancy). In practice, it ranges from 0.65 to 1.0, as can be seen from the diagram. Intermediate values can be calculated by: : D = F \left( 1 - \textstyle e^ \right) where surround ''F'' is as defined above and ''L''''A'' is the ''adapting field luminance'' in cd/m2. In CIECAM02, the reference illuminant has equal energy ) and the reference white is the ''perfect reflecting diffuser'' (i.e., unity reflectance, and ) hence: :\begin L_c &= \Big(\frac D + 1-D\Big)L\\ M_c &=\Big(\frac D + 1-D\Big)M\\ S_c &= \Big(\frac D + 1-D\Big)S\\ \end Furthermore, if the reference white in both illuminants have the ''Y'' tristimulus value () then: :\begin L_c &= \Big(\frac D + 1-D\Big)L\\ M_c &=\Big(\frac D + 1-D\Big)M\\ S_c &= \Big(\frac D + 1-D\Big)S\\ \end


Post-adaptation

After adaptation, the cone responses are converted to the Hunt–Pointer–Estévez space by going to XYZ and back: : \begin L' \\ M' \\ S' \end = \mathbf_H \begin X_c \\ Y_c \\ Z_c \end = \mathbf_H \mathbf_^ \begin L_c \\ M_c \\ S_c \end : \mathbf_H = \begin \;\;\,0.38971 & 0.68898 & -0.07868 \\ -0.22981 & 1.18340 & \;\;\,0.04641 \\ \;\;\,0.00000 & 0.00000 & \;\;\,1.00000 \end Note that the matrix above, which was inherited from CIECAM97s, has the unfortunate property that since 0.38971 + 0.68898 – 0.07868 = 1.00001, 1 ≠ MH1 and that consequently grey has non-zero chroma, an issue which CAM16 aims to address. Finally, the response is compressed based on the generalized Michaelis–Menten equation (as depicted aside): : k = \frac : F_L = \textstyle k^4 \left( 5 L_A \right) + \textstyle ^2 ^ ''F''''L'' is the luminance level adaptation factor. :\begin L'_a &= \frac + 0.1 \\ M'_a &= \frac + 0.1 \\ S'_a &= \frac + 0.1 \end As previously mentioned, if the luminance level of the background is unknown, it can be estimated from the absolute luminance of the white point as using the "medium gray" assumption. (The expression for ''F''''L'' is given in terms of 5''L''''A'' for convenience.) In photopic conditions, the luminance level adaptation factor (''F''''L'') is proportional to the cube root of the luminance of the adapting field (''L''''A''). In scotopic conditions, it is proportional to ''L''''A'' (meaning no luminance level adaptation). The photopic threshold is roughly (see ''F''''L''–''L''''A'' graph above).


Appearance correlates

CIECAM02 defines correlates for yellow-blue, red-green, brightness, and colorfulness. Let us make some preliminary definitions. :\begin C_1 &= L^\prime_a - M^\prime_a \\ C_2 &= M^\prime_a - S^\prime_a \\ C_3 &= S^\prime_a - L^\prime_a \end The correlate for red–green (''a'') is the magnitude of the departure of ''C''1 from the criterion for unique yellow (), and the correlate for yellow–blue (''b'') is based on the mean of the magnitude of the departures of ''C''1 from unique red () and unique green (). :\begin a &= C_1 - \textstyleC_2 &= L^\prime_a - \textstyle M^\prime_a + \textstyle S^\prime_a \\ b &= \textstyle \left( C_2 - C_1 + C_1 - C_3 \right) / 4.5 &= \textstyle \left( L^\prime_a + M^\prime_a - 2S^\prime_a \right) \end The 4.5 factor accounts for the fact that there are fewer cones at shorter wavelengths (the eye is less sensitive to blue). The order of the terms is such that b is positive for yellowish colors (rather than blueish). The hue angle (''h'') can be found by converting the rectangular coordinate (''a'', ''b'') into polar coordinates: : h = \angle (a, b) = \operatorname(b, a),\ (0 \le h < 360^\circ) To calculate the eccentricity (''e''''t'') and hue composition (''H''), determine which quadrant the hue is in with the aid of the following table. Choose ''i'' such that , where if and otherwise. :\begin H &= H_i + \frac \\ e_t &= \textstyle \left \cos\left( \textstyleh + 2\right) + 3.8 \right\end (This is not exactly the same as the eccentricity factor given in the table.) Calculate the achromatic response ''A'': : A = (2 L^\prime_a + M^\prime_a + \textstyle S^\prime_a - 0.305) N_ where :\begin &N_ = N_ = 0.725 n^ \\ &n = Y_b / Y_w \end The correlate of lightness is : J = 100 \left( A / A_w \right)^ where ''c'' is the impact of surround (see above), and : z = 1.48 + \sqrt The correlate of brightness is : Q = \left(4 / c \right) \sqrt \left(A_w + 4\right) F_L^ Then calculate a temporary quantity ''t'', : t = \frac The correlate of chroma is : C = t^ \sqrt (1.64 - 0.29^n)^ The correlate of colorfulness is : M = C \cdot F_L^ The correlate of saturation is : s = 100 \sqrt


Color spaces

The appearance correlates of CIECAM02, ''J'', ''a'', and ''b'', form a uniform
color space A color space is a specific organization of colors. In combination with color profiling supported by various physical devices, it supports reproducible representations of colorwhether such representation entails an analog or a digital represen ...
that can be used to calculate
color difference In color science, color difference or color distance is the separation between two colors. This metric allows quantified examination of a notion that formerly could only be described with adjectives. Quantification of these properties is of great ...
s, as long as a viewing condition is fixed. A more commonly-used derivative is the CAM02 Uniform Color Space (CAM02-UCS), an extension with tweaks to better match experimental data.


CIECAM02 as a model of human visual processing

Like many color models, CIECAM02 aims to model the human perception of color. The CIECAM02 model has been shown to be a more plausible model of neural activity in the primary visual cortex, compared to the earlier
CIELAB The CIELAB color space, also referred to as ''L*a*b*'' , is a color space defined by the International Commission on Illumination (abbreviated CIE) in 1976. (Referring to CIELAB as "Lab" without asterisks should be avoided to prevent confusio ...
model. Specifically, both its achromatic response ''A'' and red-green correlate ''a'' can be matched to EMEG activity (
entrainment Entrainment may refer to: * Air entrainment, the intentional creation of tiny air bubbles in concrete * Brainwave entrainment, the practice of entraining one's brainwaves to a desired frequency * Entrainment (biomusicology), the synchronization of ...
), each with their own characteristic delay.


See also

* CIELAB color space * CIE 1931 color space *
Color appearance model A color appearance model (CAM) is a mathematical model that seeks to describe the perceptual aspects of human color vision, i.e. viewing conditions under which the appearance of a color does not tally with the corresponding physical measurement o ...


References


Further reading

* * *


External links


Colorlab
MATLAB toolbox for color science computation and accurate color reproduction (by Jesus Malo and Maria Jose Luque, Universitat de Valencia). It includes CIE standard tristimulus colorimetry and transformations to a number of non-linear color appearance models (CIELAB, CIECAM, etc.).
Excel spreadsheet with forward and inverse examples
, by Eric Walowit and Grit O'Brien
Experimental Implementation of the CIECAM02 Color Appearance Model in a Photoshop Compatible Plug-in
(Microsoft Windows Only), by Cliff Rames.
Notes on the CIECAM02 Colour Appearance Model
Source code in C of the forward and reverse transforms, by Billy Biggs.

by Nathan Moroney *:Although Java applets no longer run on any major browser, this page also offers command line executables for Windows, Mac OS X and HP-UX. Although undocumented on the page itself, the use of these executables isn't all that hard, for example on Windows: *:>%TEMP%\cam02vc echo 95.01 100 108.82 200 18 1&&>%TEMP%\cam02xyz echo 40 20 10&&ciecam02 0 1 0 %TEMP%\cam02vc %TEMP%\cam02xyz con *:And similarly for other platforms. The first three numbers are the white point to use, then the average surround lighting, in this case 200 cd/m², then the relative luminance of the surround on the same scale as the white point, in this case 18%, then the surround conditions, where 1 = average, 2 = dim and 3 = dark, and then XYZ coordinates of the colour to check. The result will be the JCh coordinates. The bits 0 1 0 mean ‘forward, verbose, calculate D’, so change the first to 1 to convert from JCh to XYZ, the second to 0 to not print the intermediate values in the calculation, or the last to 1 to force the D parameter to 1. {{Color space Color appearance models Vision