Hot Search : Source embeded web remote control p2p game More...
Location : Home Search - luv_rgb_yuv_lab_space_convert
Search - luv_rgb_yuv_lab_space_convert - List
you can use this matlab code to change image into different color system such as luv, rgb, yuv and lab
Update : 2008-10-13 Size : 4.48kb Publisher : 謝生油

you can use this matlab code to change image into different color system such as luv, rgb, yuv and lab
Update : 2025-02-19 Size : 4kb Publisher : 謝生油

% function [L, a, b] = RGB2Lab(R, G, B) % RGB2Lab takes matrices corresponding to Red, Green, and Blue, and % transforms them into CIELab. 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. RGB values can be either between 0 and 1 or between 0 and 255. % By Mark Ruzon from C code by Yossi Rubner, 23 September 1997. % Updated for MATLAB 5 28 January 1998.-% function [L, a, b] = RGB2Lab(R, G, B) % RGB2Lab takes matrices corresponding to Red, Green, and Blue, and % transforms them into CIELab. 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. RGB values can be either between 0 and 1 or between 0 and 255. % By Mark Ruzon from C code by Yossi Rubner, 23 September 1997. % Updated for MATLAB 5 28 January 1998.
Update : 2025-02-19 Size : 2kb Publisher : 郑成勇
CodeBus is one of the largest source code repositories on the Internet!
Contact us :
1999-2046 CodeBus All Rights Reserved.