converts RGB image to an L*a*b* image
LAB = RGB2LAB(RGB);
3D matrix of type double
This function converts an RGB image to L*a*b*.
global IPD_PATH; RGB = ReadImage(IPD_PATH + 'demos\teaset.png'); RGBD = double(RGB) / 255; LAB = RGB2LAB(RGBD); figure(); ShowColorImage(LAB, 'L*a*b*');