Description: Lab2RGB takes L, a, and b double matrices, or an M x N x 3 double
image, and returns an image in the RGB color space. Values for L are in
the range [0,100] while a* and b* are roughly in the range [-110,110].
If 3 outputs are specified, the values will be returned as doubles in the
range [0,1], otherwise the values will be uint8s in the range [0,255].
This transform is based on ITU-R Recommendation BT.709 using the D65
white point reference. The error in transforming RGB -> Lab -> RGB is
approximately 10^-5.
See also RGB2LAB.
By Mark Ruzon from C code by Yossi Rubner, 23 September 1997.
Updated for MATLAB 5 28 January 1998.
Fixed a bug in conversion back to uint8 9 September 1999.
Updated for MATLAB 7 30 March 2009.
To Search:
File list (Check if you may need any files):
Lab2RGB.m