www.gusucode.com > images 案例代码 matlab源码程序 > images/ConvertRGBWhiteToLabExample.m

    %% Convert RGB White to L*a*b*
%
%%
% Use |rgb2lab| to convert the RGB white value to L*a*b.
rgb2lab([1 1 1])