CMCCAT2000

The CAT of the CMC colour-difference system; the full model adds a luminance factor.

Year2002
First published inLi, Luo, Rigg & Hunt 2002
Cone spaceCMCCAT2000 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.798200000000 0.338900000000 -0.137100000000 ]
[ -0.591800000000 1.551200000000 0.040600000000 ]
[ 0.000800000000 0.023900000000 0.975300000000 ]

Cone responses → XYZ (inverse of M)

[ 1.076450048679 -0.237662388093 0.161212339414 ]
[ 0.410964325480 0.554341804147 0.034693870373 ]
[ -0.010953765424 -0.013389356309 1.024343121733 ]

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.824103.294108.682
2(Rwr, Gwr, Bwr)ᵀ = M · XYZwr(D50)99.548101.40382.940
3DR = Rwr / Rw1.04980.98170.7631
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.97122.37729.750
5Rc = DR · R(same for G, B)16.76721.96722.704
6(Xc, Yc, Zc)ᵀ = M⁻¹ · (Rc, Gc, Bc)ᵀ16.48819.85522.779

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

Degree of chromatic adaptation

D = F·[0.08·log₁₀(0.5(L_A1+L_A2)) + 0.76 − 0.45(L_A1−L_A2)/(L_A1+L_A2)], clipped to 0–1. The coefficients use a luminance factor a = D·Y_w/Y_wr rather than D itself: D_R = a·R_wr/R_w + 1 − D.

CMCCAT2000 is one of the few CATs that takes both viewing conditions at once: D is computed from L_A1 and L_A2 together (the mean luminance enters the logarithm, the difference the last term), then multiplied by a luminance factor a = D·Y_w/Y_wr, so the coefficients read D_R = a·R_wr/R_w + 1 − D. With both whites normalised to Y = 100, a = D and that reduces to D_R = D·R_wr/R_w + 1 − D, the same shape as CIE 15:2018 Equation D.2. The D65 → D50 matrix on this page takes D = 1.

Sources

  1. Li, C., Luo, M. R., Rigg, B., & Hunt, R. W. G. (2002). CMC 2000 chromatic adaptation transform: CMCCAT2000. Color Research & Application, 27(1), 49–58.