In This Topic ▼

BALANCEDATA

typedef struct tagBALANCEDATA 
{ 
   L_UINT uStructSize; 
   L_INT nRed; 
   L_INT nGreen; 
   L_INT nBlue; 
} 
BALANCEDATA, *pBALANCEDATA; 

The BALANCEDATA structure provides the balance tone information used in L_ColorIntensityBalance function.

Members

uStructSize

Size of the structure. Should be set to sizeof(BALANCEDATA).

nRed

Value to be used for adjusting or balancing the red channel. Valid values range from −100 to 100. Values > 0 increase the red component. Values < 0 decrease the red component. Using 0 leaves the red component unchanged.

nGreen

Value to be used for adjusting or balancing the Green channel. Valid values range from −100 to 100. Values > 0 increase the green component value. Values < 0 decrease the green component value. Using 0 leaves the green component unchanged.

nBlue

Value to be used for adjusting or balancing the blue channel. Valid values range from −100 to 100. Values > 0 increase the blue component value. Values < 0 decrease the blue component value. Using 0 leaves the blue component unchanged.

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.