BayerConversionGetWhiteBalance Method (Image, BayerPattern, Area2D)

CVB.Net Documentation
Determine a suitable white balance from a monochrome image with Bayer pattern.

Namespace:  Stemmer.Cvb.Foundation
Assembly:  Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax

public static WhiteBalanceFactors GetWhiteBalance(
	Image img,
	BayerPattern pattern,
	Area2D aoi
)

Parameters

img
Type: Stemmer.CvbImage
Monochrome image with Bayer pattern
pattern
Type: Stemmer.Cvb.FoundationBayerPattern
Pattern in the top left corner of the sensor with which the img was acquired
aoi
Type: Stemmer.CvbArea2D
Area in which to determine the white balance factors

Return Value

Type: WhiteBalanceFactors
White balance factors
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null.
ObjectDisposedExceptionIf the input img has already been disposed
See Also

Reference