Page 112 - Computational Colour Science Using MATLAB
P. 112

IMPLEMENTATIONS AND EXAMPLES                       99

                  xyzr = [94.811 100.00 107.304];
                  [xyzc] = cmccat97(xyz, xyzt, xyzr, 100.0, 1.0).

             The corresponding tristimulus values that result from this computation are
             displayed along with test and corresponding values for three other samples in
             Table 6.2 which is provided to allow programmers to quickly check the fidelity of
             their own implementations of CMCCAT97.


             Table 6.2 Data for testing implementations of CMCCAT97. Tristimulus values (XYZ) under
             illuminant A are shown for four Munsell surfaces with the corresponding values (X C Y C Z C ) for
             illuminant D65 for the 1964 standard observer. The parameters L A and F are fixed at 100 and
             1, respectively
             X           34.1827         52.1707         11.9082          43.4214
             Y           39.2556         35.6248         11.3118          43.2444
             Z           14.8082          2.0716         12.0749          4.1055
             D            0.9754          0.9754          0.9754          0.9754
             p            0.9080          0.9080          0.9080          0.9080
                         29.7637         40.6782         12.7074          33.2293
             X C
                         40.7096         32.5784         12.2382          42.5732
             Y C
                         43.6411          6.8944         33.4816          11.9849
             Z C

































             Figure 6.4  Relationship of adaptation factor D with luminance of the adapting test field for
             CMCCAT97
   107   108   109   110   111   112   113   114   115   116   117