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)
Syntaxpublic static void ApplyChannelGains(
IInputArray src,
IOutputArray dst,
float gainB,
float gainG,
float gainR
)
Public Shared Sub ApplyChannelGains (
src As IInputArray,
dst As IOutputArray,
gainB As Single,
gainG As Single,
gainR As Single
)
public:
static void ApplyChannelGains(
IInputArray^ src,
IOutputArray^ dst,
float gainB,
float gainG,
float gainR
)
static member ApplyChannelGains :
src : IInputArray *
dst : IOutputArray *
gainB : float32 *
gainG : float32 *
gainR : float32 -> unit
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