


Calculate linear transformation from internal space to display primary space
T = ieInternal2Display(vci)
The transformation T finds display values (RGB) that produce the
internal color space values (e.g., XYZ). The calculation is performed
assuming that we have linear control of the display primaries. To
create a real display image, we may have to correct for the display
nonlinearity.
(displayRGB*displaySPD')*internalCS = internalValues
displayRGB*(displaySPD'*internalCS) = internalValues
displayRGB = internalValues * inv(displaySPD'*internalCS);
So,
internal2display = inv(displaySPD'*internalCS);
Example:
Suppose result is in the internal color space (e.g., XYZ)
img = imageGet(vci,'result');
T = ieInternal2Display(vci);
displayImage = imageLinearTransform(img,T);
Copyright ImagEval Consultants, LLC, 2005.