Available in the LEADTOOLS Imaging toolkit. |
BalanceColors example for Visual Basic
Const RedFactToRed = 0.25
Const RedFactToGreen = 0.5
Const RedFactToBlue = 0.25
Const GreenFactToRed = 0.3
Const GreenFactToGreen = 0.4
Const GreenFactToBlue = 0.3
Const BlueFactToRed = 0.1
Const BlueFactToGreen = 0.6
Const BlueFactToBlue = 0.3
LEAD1.BalanceColors RedFactToRed, RedFactToGreen, RedFactToBlue, GreenFactToRed, GreenFactToGreen, GreenFactToBlue, BlueFactToRed, BlueFactToGreen, BlueFactToBlue