BayerConversionGetWhiteBalance Method (Image, BayerPattern)

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
)

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 img was acquired

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