COLORDATA

typedef struct tagCOLORDATA 
{ 
   L_UINT uStructSize; 
   L_INT nRedFactor; 
   L_INT nGreenFactor; 
   L_INT nBlueFactor; 
   L_INT nConstant; 
} COLORDATA, *pCOLORDATA; 

The COLORDATA structure provides color-balancing information to the L_ChannelMix function.

Members

uStructSize

Size of this structure, in bytes. Use the sizeof operator to calculate this value.

nRedFactor

Value that represents the percentage of the red color value that should be distributed to the red component. Valid values are −200 to 200.

nGreenFactor

Value that represents the percentage of the green color value that should be distributed to the green component. Valid values are −200 to 200.

nBlueFactor

Value that represents the percentage of the blue color value that should be distributed to the blue component. Valid values are −200 to 200.

nConstant

Value that represents the color value that should be added to the whole image. Valid values are −200 to 200.

Comments

For a more detailed description of how this works, refer to L_ChannelMix.

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.