


Convert color representation from sensor to display RGB
[img,vci] = imageColorConversion(img, vci,isa)
This routine applies a linear transform to the img RGB data.
At this stage in the pipeline, we are simply converting sensor data into
an internal color space.
There are only three methods implemented. More will be added.
Conversion Methods:
case {'none'} -- Sensor data are copied to display values
case {'mcc optimized'} --
Calculate the (theoretical) sensor responses to a Macbeth color
checker (MCC) under D65. Then calculate the RGB display values of
the MCC. Find the linear transform, T, from the simulated sensor values
to the (linear) display values.
The transform, T, is scaled so that when the three sensor channels are
at their peak value, the display maximum in at least one display
channel is also at maximum (usually 1).
case {'manual matrix entry'} -- The user enters a 3x3 matrix
Copyright ImagEval Consultants, LLC, 2003.