EXOBJ_COLORINFO

typedef struct EXOBJ_COLORINFO 
{ 
   L_UINT uStructSize; 
   L_COLORREF crColor; 
   L_UINT uThreshold; 
} EXOBJ_COLORINFO, * pEXOBJ_COLORINFO; 

Stores the color information for multi-color extraction.

Members

L_UINT uStructSize

Size of this structure in bytes, for versioning. Use the sizeof(EXOBJ_COLORINFO) operator to calculate this value.

L_COLORREF crColor

The COLORREF value that specifies the color.

L_UINT uThreshold

The maximum distance of equality to crColor.

Comments

The distance is calculated in Euclidean RGB color space using the following equation:

Threshold Equation

The structure is used by:

See Also

Functions

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

LEADTOOLS Raster Imaging C API Help
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.