Function File: xyz = lab2xyz (lab)
Function File: xyz_map = lab2xyz (lab_map)

Transform a colormap or image from CIE L*a*b* to CIE XYZ color space.

A color in the CIE L*a*b* (or CIE Lab) space consists of lightness L* and two color-opponent dimensions a* and b*. The whitepoint is taken as D65. The CIE L*a*b* colorspace is a colorimetric colorspace, meaning that their values do not depend on the display device hardware. This colorspace is designed to incorporate the human perception of color differences.

A color in the CIE XYZ color space consists of three values X, Y and Z. Those values are also designed to be colorimetric.

Input values of class single and double are accepted. The shape and the class of the input are conserved.

The input values of L* are normally in the inteval [0, 100] and the values of a* and b* in the interval [-127, 127].

See also: xyz2lab, rgb2lab, rgb2hsv, rgb2ind, rgb2ntsc.

Package: image