MATLAB: How to create histograms for L a b channels separately in CIELAB color space.

cielabcolor spaceImage Processing Toolbox

How to create histograms for L a b channels separately in CIELAB color space.

Best Answer

Try this:
labImage = rgb2lab(rgbImage);
LImage = labImage(:, :, 1);
AImage = labImage(:, :, 2);
BImage = labImage(:, :, 3);