Click or drag to resize
CvInvokeBalanceWhite Method
http://www.emgu.com
The function implements different algorithm of automatic white balance, i.e. it tries to map image’s white color to perceptual white (this can be violated due to specific illumination or camera settings).

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntax
public static void BalanceWhite(
	Mat src,
	Mat dst,
	WhiteBalanceMethod algorithmType,
	float inputMin = 0f,
	float inputMax = 255f,
	float outputMin = 0f,
	float outputMax = 255f
)

Parameters

src
Type: Emgu.CVMat
The source.
dst
Type: Emgu.CVMat
The DST.
algorithmType
Type: Emgu.CV.CvEnumWhiteBalanceMethod
Type of the algorithm to use. Use SIMPLE to perform smart histogram adjustments (ignoring 4% pixels with minimal and maximal values) for each channel.
inputMin (Optional)
Type: SystemSingle
Minimum value in the input image
inputMax (Optional)
Type: SystemSingle
Maximum value in the input image
outputMin (Optional)
Type: SystemSingle
Minimum value in the output image
outputMax (Optional)
Type: SystemSingle
Maximum value in the output image
See Also