ImageGear .NET
AdjustWhiteBalance(ImGearRasterPage,ImGearDoublePoint,ImGearDoublePoint) Method




Page to process.
White point used when shooting the source picture.
Correct white point, matching actual shooting conditions better.
This method allows correction of white balance of the image.
Syntax
'Declaration
 
Public Overloads Shared Sub AdjustWhiteBalance( _
   ByVal page As ImGearRasterPage, _
   ByVal sourceWhiteXY As ImGearDoublePoint, _
   ByVal destinationWhiteXY As ImGearDoublePoint _
) 
'Usage
 
Dim page As ImGearRasterPage
Dim sourceWhiteXY As ImGearDoublePoint
Dim destinationWhiteXY As ImGearDoublePoint
 
ImGearEffects.AdjustWhiteBalance(page, sourceWhiteXY, destinationWhiteXY)
public static void AdjustWhiteBalance( 
   ImGearRasterPage page,
   ImGearDoublePoint sourceWhiteXY,
   ImGearDoublePoint destinationWhiteXY
)
public: static void AdjustWhiteBalance( 
   ImGearRasterPage* page,
   ImGearDoublePoint sourceWhiteXY,
   ImGearDoublePoint destinationWhiteXY
) 
public:
static void AdjustWhiteBalance( 
   ImGearRasterPage^ page,
   ImGearDoublePoint sourceWhiteXY,
   ImGearDoublePoint destinationWhiteXY
) 

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

Reference

ImGearEffects Class
ImGearEffects Members
Overload List
ImGearRasterPage Class
ImGearWhiteBalance Class

 

 


©2016. Accusoft Corporation. All Rights Reserved.

Send Feedback