MATLAB: How to convert RGB to CIE Lab color space color space conversionImage Processing Toolbox How to convert RGB to CIE Lab color space? Best Answer Convert the image to L*a*b* color space using makecform and applycform.colorTransform = makecform('srgb2lab');lab = applycform(rgbImage, colorTransform);Here's a full demo here: http://www.mathworks.com/products/demos/image/color_seg_k/ipexhistology.html Related SolutionsMATLAB: How to convert RGB to CIE Lab color space. makecform('srgb2lab') uses WhitePoint 'ICC' by default. rgb2lab() uses whitepoint 'D65' by default.http://www.mathworks.com/help/images/ref/makecform.htmlhttps://en.wikipedia.org/wiki/ICC_profile "a 16-bit fractional approximation of D50" MATLAB: How to create histograms for L a b channels separately in CIELAB color space. Try this:labImage = rgb2lab(rgbImage);LImage = labImage(:, :, 1);AImage = labImage(:, :, 2);BImage = labImage(:, :, 3); Related QuestionColor transform to lab then to rgbClarification regarding masking an imageHow to use colormapHow to calculate intensity of a particular color in an RGB image
Best Answer