WHITEPOINT
typedef struc _WHITEPOINT
{
L_INT nWhitePoint;
L_DOUBLE xWhite;
L_DOUBLE yWhite;
} WHITEPOINT, * LPWHITEPOINT;
The WHITEPOINT structure specifies the spectrum of the white color.
Parameter |
Description |
|
nWhitePoint |
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 |
Dfault (D55) white point. |
xWhite |
X value between 0.0 and 1.0. |
|
yWhite |
y value between 0.0 and 1.0. |
Comments
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.
WHITEPOINT is used with the CONVERSION_PARAMS structure.
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.