


Calculate MCC values for given an illuminant in a color space
target = macbethIdealColor(illuminant,colorSpace)
Possible illuminants are listed in readIllumination
Possible color spaces are
'LAB'
'XYZ'
'lRGB' linear RGB (from sRGB)
'sRGB' display sRGB
'Stockman' (not yet)
'SmithPokorny' (not yet)
Example:
macbethXYZ = macbethIdealColor('d65','xyz');
xy = chromaticity(macbethXYZ);
plot(xy(:,1), xy(:,2),'o'); hold on; plotSpectrumLocus
lRGB = macbethIdealColor('d65','lrgb');
lightParameters.name = 'blackbody';
lightParameters.temperature = 3000;
lightParameters.spectrum.wave = 400:10:700;
lightParameters.luminance = 100;
lRGB = macbethIdealColor(lightParameters,'lrgb');
macbethLAB = macbethIdealColor('tungsten','lab');
plot3(macbethLAB(:,1),macbethLAB(:,2),macbethLAB(:,3),'o')
Copyright ImagEval Consultants, LLC, 2005.