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 LBitmap::ColorIntensityBalance function.

Members

uStructSize

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

LEADTOOLS Raster Imaging C++ Class Library Help