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 20.0.2020.4.3
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2020 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help