WHITEPOINT

Summary

The WHITEPOINT structure specifies the spectrum of the white color.

Syntax

typedef struct _WHITEPOINT 
{ 
   L_INT nWhitePoint; 
   L_DOUBLE xWhite; 
   L_DOUBLE yWhite; 
} WHITEPOINT, * LPWHITEPOINT; 

Members

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 Default (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.

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.

Usage

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

LEADTOOLS Color Conversion C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2023 LEAD Technologies, Inc. All Rights Reserved.