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

Namespace: Cognex.VisionPro.Implementation.Internal
Assembly: Cognex.VisionPro.Core (in Cognex.VisionPro.Core.dll) Version: 65.1.0.0
Syntax

public virtual double UGain { get; set; }

Property Value

Type: Double

Implements

ICogAcqWhiteBalance UGain
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