CAT16

The CAT of CAM16, which completes colour and luminance adaptation in a single space.

Year2017
First published inLi et al. 2017
Cone spaceCAT16 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.401288000000 0.650173000000 -0.051461000000 ]
[ -0.250268000000 1.204414000000 0.045854000000 ]
[ -0.002079000000 0.048952000000 0.953127000000 ]

Cone responses → XYZ (inverse of M)

[ 1.862067855087 -1.011254630532 0.149186775444 ]
[ 0.387526543236 0.621447441931 -0.008973985168 ]
[ -0.015841498849 -0.034122938029 1.049964436878 ]

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)97.554101.648108.499
2(Rwr, Gwr, Bwr)ᵀ = M · XYZwr(D50)99.467100.09283.338
3DR = Rwr / Rw1.01960.98470.7681
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 · XYZ18.14921.29229.538
5Rc = DR · R(same for G, B)18.50520.96622.688
6(Xc, Yc, Zc)ᵀ = M⁻¹ · (Rc, Gc, Bc)ᵀ16.64119.99722.813

Reading the coefficients: D_B = 0.7681 means the blue response is multiplied by 0.7681, so 23.2% 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.0196. Note that Y_c is not Y: here 20.000 becomes 19.997, because a pure chromatic adaptation pins the white points, not every luminance.

Degree of chromatic adaptation

Same D as CIECAM02 (CIE 15:2018, Equation D.1); the only difference is M.

CAM16 completes colour and luminance adaptation in the same space, and CAT16 is the step that replaces CAT02 (Li et al. 2017). CIECAM02 does it in two: CAT02 for chromatic adaptation, then the HPE space for luminance adaptation. So CAT16 is not a tweak of CAT02 — it is that half of a different structure.

Inside CAM16 the target of this scale is the neutral response Y_w (the white point’s Y in all three channels), so the D65 → D50 matrix on this page is again the pure-chromatic-adaptation form.

Some saturated stimuli produce negative responses under CAT02 (see the CAT02 page). The same stimulus is positive under CAT16:

470 nm monochromatic, Y = 100RGB
CAT02−29.527.31393.8
CAT1678.4131.61353.4

Scanning monochromatic stimuli from 380 nm to 780 nm at 1 nm steps (each normalised to Y = 100), 252 of them have at least one negative channel under CAT02; none do under CAT16.

Sources

  1. Li, C., Li, Z., Wang, Z., Xu, Y., Luo, M. R., Cui, G., Melgosa, M., Brill, M. H., & Pointer, M. (2017). Comprehensive color solutions: CAM16, CAT16, and CAM16-UCS. Color Research & Application, 42(6), 703–718.