ICogAcqWhiteBalance UGain Property Cognex VisionPro 9.7
Gets or sets the gain of the U component in the YUV color model.

Namespace: Cognex.VisionPro
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 73.0.0.0
Syntax

double UGain { get; set; }

Property Value

Type: Double
Events

Exceptions

ExceptionCondition
ArgumentExceptionValue < 0 or Value > 1.0.
Remarks

As the U-gain increases, the image becomes more red. By adjusting the U- and V-gains, you can correct the color balance for different light sources.
See Also