The WHITEPOINT structure specifies the spectrum of the white color.
typedef struct _WHITEPOINT
{
L_INT nWhitePoint;
L_DOUBLE xWhite;
L_DOUBLE yWhite;
} WHITEPOINT, * LPWHITEPOINT;
Common white points. Possible values:
Value | Meaning |
---|---|
CIELAB_D50 | D50 white point. |
CIELAB_D55 | D55 white point. |
CIELAB_D65 | D65 white point. |
CIELAB_D75 | D75 white point. |
CIELAB_D93 | D93 white point. |
CIELAB_CUSTOM | Use the values of xWhite and yWhite members. |
CIELAB_DEFAULT | Default (D55) white point. |
X value between 0.0 and 1.0.
y value between 0.0 and 1.0.
LPWHITEPOINT is a pointer to a WHITEPOINT structure. Where the function parameter type is LPWHITEPOINT, you can declare a WHITEPOINT variable, update the structure's fields, and pass the variable's address. Declaring a LPWHITEPOINT variable is necessary only if your program requires a pointer.
Any of the predefined white points can be used, or custom x and y values can be used in an xyY system with CIELAB_CUSTOM, Y is always 1.0.