|
Core 1.0
|
Color in the CIELAB (L*a*b*) perceptually uniform color space. More...
#include <color.h>
Public Member Functions | |
| Lab (const double &, const double &, const double &) | |
| Create a color in Lab space. | |
| Lab (const Xyz &) | |
| Create a color in Lab space from an input XYZ color. | |
| Xyz | ToXyz () const |
| Convert to Xyz space. | |
Protected Attributes | |
| double | b = 0.0 |
| Color Lab coefficients. | |
Friends | |
| class | Xyz |
Color in the CIELAB (L*a*b*) perceptually uniform color space.
Color in Lab space.
L* is lightness in [0,100]; a* and b* are opponent-color axes with no fixed range (typically ±128). The reference white is D65. Distances in Lab approximate perceived color differences (deltaE).
|
explicit |
Create a color in Lab space.
| l,a,b | Components. |