BALANCING - Raster Imaging C API Help

BALANCING

typedef struct tagBALANCING 
{ 
   L_UINT uStructSize; 
   L_DOUBLE toRed; 
   L_DOUBLE toGreen; 
   L_DOUBLE toBlue; 
} BALANCING, *pBALANCING; 

The BALANCING structure provides color balancing information to the L_BalanceColors function.

Comments

If a BALANCING structure used to redistribute the red value of a pixel contains the following values:

toRed = 0.50

toGreen = 0.50

toBlue = 0.0

then 50% of the current red value of the pixel will be added to the new red value for the pixel and 50% of the current red value of the pixel will be added to the new green value for the pixel. For a more detailed description of how this works, refer to L_BalanceColors.

Help Version 20.0.2018.7.30
Products | Support | Contact Us | Copyright Notices
© 1991-2018 LEAD Technologies, Inc. All Rights Reserved.

LEADTOOLS Raster Imaging C API Help