The CIE (International Commission on Illumination) color spaces L
*u
*v
* and L
*a
*b
* are device independent, colorimetric (i.e., perceptually equal colors are numerically equal), and perceptually uniform (i.e., color differences of a given magnitude are equally perceptible irrespective of the region of the color space being examined) [
Poy03]. It should be noted that this is not the case with the common RGB color space. These properties make the CIE color spaces especially valuable for measuring and quantifying changes in color images. Channel L
* represents lightness, while channels a
* and b
* (or u
*, v
*) roughly represent the color differences red minus green and green minus blue, respectively. It has been demonstrated [
Kas92] that the L
*a
*b
* color space separates color from luminance better than any other color model.
In Section 2.4 we introduced the function
RawImageData, which is used to extract raw data from an
ImageData expression. On occasion, it may be of interest to perform the inverse operation (i.e., construct an
ImageData object given raw data in one of the supported formats, see Equations (
2.2.1), (
2.3.1), and (
2.3.2)). Here we take raw image data in pixel-interleaved form and convert to a composite RGB color image.