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: WhiteBalanceFactorsWhite balance factors
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img is null. |
ObjectDisposedException | If the input img has already been disposed |
See Also