typedef struc _WHITEPOINT 
   L_INT nWhitePoint; 
   L_DOUBLE xWhite; 
   L_DOUBLE yWhite; 

The WHITEPOINT structure specifies the spectrum of the white color.



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.


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.

The structure is used within:

Help Version 21.0.2021.4.7
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Color Conversion C++ Class Library Help