The L*a*b* color model is based on opposite color theory and reference white point (Wyszecki and Stiles, 1982). It is independent of devices used, and is suitable for applications with natural illumination. L*, a*, b* are nonlinearly related to R, G, B, through the middle terms X, Y, Z(tri-stimulus):
L*, a*, b* are then computed by
where
Get Image Processing now with the O’Reilly learning platform.
O’Reilly members experience books, live events, courses curated by job role, and more from O’Reilly and nearly 200 top publishers.