Click or drag to resize

XPhotoInvokeApplyChannelGains Method

http://www.emgu.com
Implements an efficient fixed-point approximation for applying channel gains, which is the last step of multiple white balance algorithms.

Namespace:  Emgu.CV.XPhoto
Assembly:  Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntax
public static void ApplyChannelGains(
	IInputArray src,
	IOutputArray dst,
	float gainB,
	float gainG,
	float gainR
)

Parameters

src
Type: Emgu.CVIInputArray
Input three-channel image in the BGR color space (either CV_8UC3 or CV_16UC3)
dst
Type: Emgu.CVIOutputArray
Output image of the same size and type as src.
gainB
Type: SystemSingle
Gain for the B channel
gainG
Type: SystemSingle
Gain for the G channel
gainR
Type: SystemSingle
Gain for the R channel
See Also