CAT02

The CAT of CIECAM02 — and the step where saturated stimuli can produce negative cone responses.

Year2004
First published inCIE 159:2004 · CIE 15:2018, Equation D.8
Cone spaceCAT02 sharpened cone space

Transform

(Rw, Gw, Bw)ᵀ = M · XYZw the source white into cone space (Eq. D.1) (Rwr, Gwr, Bwr)ᵀ = M · XYZwr the reference white, likewise (Eq. D.1) DR = D · Rwr/Rw + 1 − D one per channel; at D = 1 this is just R_wr/R_w (Eq. D.2) (R, G, B)ᵀ = M · XYZ the sample, into the same space (Eq. D.14) (Rc, Gc, Bc)ᵀ = diag(DR, DG, DB) · (R, G, B)ᵀ multiplied channel by channel (Eq. D.15) (Xc, Yc, Zc)ᵀ = M⁻¹ · (Rc, Gc, Bc)ᵀ back to tristimulus values

The equation numbers are CIE 15:2018 Annex D's own (they write out CIECAM02's CAT02; another M changes nothing structural). D is the degree of chromatic adaptation — one scalar; D_R, D_G, D_B are the three coefficients. Different quantities, similar names.

Matrix

XYZ → cone responses

[ 0.732800000000 0.429600000000 -0.162400000000 ]
[ -0.703600000000 1.697500000000 0.006100000000 ]
[ 0.003000000000 0.013600000000 0.983400000000 ]

Cone responses → XYZ (inverse of M)

[ 1.096123820836 -0.278869000218 0.182745179383 ]
[ 0.454369041975 0.473533154307 0.072097803717 ]
[ -0.009627608738 -0.005698031216 1.015325639955 ]

Effective cone sensitivities

Solid: this transform. Dashed: Hunt–Pointer–Estevez for comparison. The curve is M applied to the CIE 1931 2° colour-matching functions, normalised per channel.

White point

Change the source or target white and the degree D; the equivalent matrix and the white-point check recompute below.

Worked example

Sample: xy = 0.25 / 0.30, Y = 20, i.e. XYZ = 16.67 / 20.00 / 30.00 (normalised to Y = 100; about sRGB #528392). Degree of adaptation D = 1 here, so the coefficients are simply the ratios of the two whites. XYZ to three decimals, coefficients to four.

RGB
1(Rw, Gw, Bw)ᵀ = M · XYZw(D65)94.923103.540108.743
2(Rwr, Gwr, Bwr)ᵀ = M · XYZwr(D50)100.224102.40582.790
3DR = Rwr / Rw1.05580.98900.7613
The whites go through the same M. Dividing one by the other gives the three coefficients — they depend only on the two white points, never on the colour.
4(R, G, B)ᵀ = M · XYZ15.93622.40429.824
5Rc = DR · R(same for G, B)16.82622.15822.706
6(Xc, Yc, Zc)ᵀ = M⁻¹ · (Rc, Gc, Bc)ᵀ16.41319.77522.766

Reading the coefficients: D_B = 0.7613 means the blue response is multiplied by 0.7613, so 23.9% of it is discounted — D65's white is far bluer than D50's, and removing that blue is what makes the colour look the same under the warmer white. R goes the other way, times 1.0558. Note that Y_c is not Y: here 20.000 becomes 19.775, because a pure chromatic adaptation pins the white points, not every luminance.

Degree of chromatic adaptation

D = F·[1 − (1/3.6)·exp(−(L_A + 42)/92)] (CIE 15:2018, Equation D.1), F = 1 / 0.9 / 0.8, clipped to 0–1.

CIECAM02 runs in four steps: transform into CAT02 space → scale each channel by D toward the model’s internal equal-energy white (X_wr = Y_wr = Z_wr = 100) → convert into HPE space → apply non-linear luminance compression (CIE 15:2018 Equations D.1, D.2, D.6, D.7 and D.18). Colour and luminance adaptation therefore happen in two different spaces.

The D65 → D50 matrix on this page is CAT02 pulled out as a standalone chromatic adaptation with D50 as the target.

The first row of M is 0.7328 / 0.4296 / −0.1624; the negative third entry lets R drop below zero for deep blues. A 470 nm monochromatic stimulus (Y = 100, XYZ = 214.73 / 100.00 / 1415.3) gives

R = −29.5    G = 27.3    B = 1393.8

Note that a negative raw CAT02 response does not automatically mean the HPE response entering luminance compression is also negative (for this 470 nm stimulus under D65 and L_A = 20, all three adapted HPE responses are positive). Only when an HPE response remains negative does CIECAM02 take CIE 15:2018 Equation D.18’s sign-preserving branch (compress the absolute value, then restore the minus sign). Brill & Süsstrunk (2008) address part of the resulting gamut problems (CAT02 Brill 2008), while CAT16 merged both steps into a single space.

Sources

  1. CIE 159:2004 — A colour appearance model for colour management systems: CIECAM02