Page 204 - Computational Colour Science Using MATLAB
P. 204

CIELABDE.M (BOX 10)                        191

             11.7   xyz2luv.m (Box 7)



                  % function [luv,uprime,vprime] = xyz2luv(xyz,obs)
                  % computes CIELUV Luv values from XYZ tristimulus values
                  % uprime and vprime are the CIE 1976 UCS coordinates
                  % requires the illuminant/observer obs to define white
                  % point
                  % see function r2xyz for valid values for obs




             11.8   car2pol.m (Box 8)



                  % function [c,h] = cartopol(ab)
                  % converts a*b* or u*v* into the polar coordinates
                  % of Chroma C and Hue H
                  % ab must be a row or column matrix 2 by 1 or 1 by 2
                  % see also pol2car




             11.9   pol2car (Box 9)



                  % function [a,b] = pol2car(ch)
                  % converts the polar coordinates
                  % of Chroma C and Hue H
                  % ch must be a row or column matrix 2 by 1 or 1 by 2
                  % see also car2pol





             11.10   cielabde.m (Box 10)



                  % function [de,dl,dc,dh] = cielabde(lab1,lab2)
                  % computes colour difference from CIELAB values
                  % using CIELAB formula
                  % lab1 and lab2 must be 3 by 1 or 1 by 3 matrices
                  % and contain L*, a* and b* values
                  % see also cmcde, cie94de, and cie00de
   199   200   201   202   203   204   205   206   207   208   209