MATLAB: How to convert RGB to CIE Lab color space.

color space conversionImage Processing Toolbox

Is there any difference between these two procedures of rgb to lab conversion.
1. colorTransform = makecform('srgb2lab'); lab = applycform(rgbImage, colorTransform);
2. rgb2lab

Best Answer

makecform('srgb2lab') uses WhitePoint 'ICC' by default. rgb2lab() uses whitepoint 'D65' by default.
https://en.wikipedia.org/wiki/ICC_profile "a 16-bit fractional approximation of D50"