Colour toolbox that accompanies the second edition of Computational Colour Science using MATLAB (Westland, Ripamonti and Cheung, 2012).
Toolbox allows spectral interpolation, calculation of colour coordinates, colour difference, colour appearance etc.
Stephen Westland (2020). Computational Colour Science using MATLAB 2e (https://www.mathworks.com/matlabcentral/fileexchange/40640-computational-colour-science-using-matlab-2e), MATLAB Central File Exchange. Retrieved .
Very useful. Thanks for contributing the code here.
Respectfully, but I agreed with Jueqin. The ciecam02 function seems an unfinished revision to a previous ciecam97s function. Also some typos in the corresponding section in the book. Hope this can be fixed in future version.
I do not understand the function of the input variables ciecam02
please guide me
sad, this toolbox is without GUI
ciecam02.m function seems goes wrong?
I have the same question as sunx's
In the cieplot() function, it was assumed Y = y when the colors are transformed to sRGB, which resulted in darker color than most other CIE 1931 plots on the web, especially in the lower part of the graph. I'm wondering what should be the Y value for the different regions.
Do you have the data files used in this book. It will help follow the steps for colour calculations and interpretations.
I could not find the cc.tif file. Could you update with the file.
I'm trying to use the Colour Constancy example on pg 181, section 12.2.1, which requires camera.mat, but camera.mat is not in the v1.3 .zip folder.
Also cc.tif which is used in the camera_demo.m script is not in the .zip folder
The latest version of the toolbox is v1.3 uploaded on 5th March 2013.
v1.2 was introduced on 31st July 2012 and corrected a small typo in the code cie00de.m.
v1.3 corrected an error in the sprague.m code which resulted in some problems with the interpolation method.