<< Ind2RGB IPD - Image Processing Design MaskFilter >>

IPD - Image Processing Design >> IPD - Image Processing Design > LAB2RGB

LAB2RGB

converts L*a*b* image to an RGB image

Calling Sequence

RGB = RGB2LAB(LAB);

Parameters

LAB

3D matrix of type double

RGB

3D matrix of type double

Description

This function converts an L*a*b* image to RGB.

Examples

global IPD_PATH;

RGB = ReadImage(IPD_PATH + 'demos\teaset.png');

RGBD = double(RGB) / 255;

LAB = RGB2LAB(RGBD);

RGB_New = LAB2RGB(LAB);

figure(); ShowColorImage(uint8(255 * RGB_New), 'Result of LAB -> RGB');

See also

<< Ind2RGB IPD - Image Processing Design MaskFilter >>