Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - LAB2RGB and RGB2LAB
Search - LAB2RGB and RGB2LAB - List
DL : 0
matlab rgb2lab source code
Update : 2025-02-19 Size : 2kb Publisher : zobeir

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.-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.
Update : 2025-02-19 Size : 1kb Publisher : tertul
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.