www.gusucode.com > images 案例代码 matlab源码程序 > images/ConvertRGBColorToLabSpecifyingReferenceWhiteExample.m
%% Convert RGB color to L*a*b* Specifying Reference White % %% % Use |rgb2lab| to convert an RGB color to L*a*b using the D50 reference % white. rgb2lab([.2 .3 .4],'WhitePoint','d50')