Clear Filters
Clear Filters

How to convert RGB to CIE Lab color space.

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

Accepted Answer

Walter Roberson
Walter Roberson on 14 Oct 2015
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"

More Answers (0)

Categories

Find more on Image Processing Toolbox in Help Center and File Exchange

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!