ImageGear for .NET
AdjustWhiteBalance(ImGearRasterPage,ImGearDoublePoint,ImGearDoublePoint) Method
See Also  Send Feedback
ImageGear21.Processing.Advanced Assembly > ImageGear.Processing Namespace > ImGearEffects Class > AdjustWhiteBalance Method : AdjustWhiteBalance(ImGearRasterPage,ImGearDoublePoint,ImGearDoublePoint) Method




page
Page to process.
sourceWhiteXY
White point used when shooting the source picture.
destinationWhiteXY
Correct white point, matching actual shooting conditions better.

Glossary Item Box

This method allows correction of white balance of the image.

Syntax

 
Visual Basic
C#
Managed Extensions for C++
C++/CLI
 
 

Parameters

page
Page to process.
sourceWhiteXY
White point used when shooting the source picture.
destinationWhiteXY
Correct white point, matching actual shooting conditions better.

Remarks

This method allows to correct white balance of the image.

For example, if the image was taken in the daylight, but the camera white balance setting was set to Tungsten, white objects would display as blue. To correct this (make the white objects display white), use the AdjustWhiteBalance method, setting source white balance to Tungsten and destination white balance to Daylight.

This method can also be used to make image colors 'cooler' or 'warmer'. To make the image look warmer, use a source white point corresponding to a higher color temperature, and a destination white point corresponding to a lower color temperature. To make the image look cooler, use a source white point corresponding to a lower color temperature, and a destination white point corresponding to a higher color temperature.

You can use ImGearWhiteBalance class object to calculate a white point corresponding to a specific color temperature and tint, or to a preset value.

See Also

©2013. Accusoft Corporation. All Rights Reserved.