Appendix B

Colour Toolbox

B.1 Where to Find the Toolbox

We have gone to great lengths to develop what we believe is a correct implementation of the formulae and methods discussed in the book. However, the data and the software are provided as is with no warranty whatsoever. No part of the tool box is an official CIE or ASTM implementation. The toolbox can be downloaded from MATLAB Central FileExchange - http://www.mathworks.co.uk/matlabcentral/fileexchange/

For further information about the toolbox and to report bugs please visit http://colourmatlab.wordpress.com/

B.2 How to Install the Toolbox

The toolbox should be downloaded and placed in a suitable directory such as matlab/toolboxes/colour

The MATLAB path environment should be set to include the new directory using MATLAB, FILE, SET PATH.

B.3 Summary of Toolbox Files

B.3.1 Computing CIE Tristimulus Values

sprague.m
r2xyz.m
cieplot.m

B.3.2 CIELAB and Colour Difference

xyz2lab.m
lab2xyz.m
xyz2luv.m
cielabde.m
cmcde.m
cie94de.m
cie00de.m
cielabplot.m

B.3.3 Chromatic-Adaptation Transforms and Colour Appearance

cmccat97.m
cmccat00.m
cmccat00r.m
ciecat02.m

B.3.4 Physiological Colour Spaces

rgb2lms.m
lms2rgb.m
lms2rgbBM.m
rgbBM2lms.m

B.3.5 Colour Management

srgb2xyz.m
xyz2srgb.m

B.3.6 Display Characterisation

crtdemo.m

B.3.7 Characterisation of Cameras

camera_demo.m
camera_demo1.m

B.3.8 Characterisation of Printers

printer_demo.m
printer_demo1.m

Get Computational Colour Science Using MATLAB, 2nd Edition now with the O’Reilly learning platform.

O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.