lab = rgb2lab(rgb) converts RGB values to CIE 1976 L*a*b* values.
lab = rgb2lab(rgb,Name,Value) specifies additional options with one or more Name,Value pair arguments.
Code Generation support: Yes.MATLAB Function Block support: Yes.
lab = rgb2lab(rgb) lab = rgb2lab(rgb,Name,Value)
Read RGB image into the workspace.