| CvXPhotoApplyChannelGains Method |
Implements an efficient fixed-point approximation for applying channel gains,
which is the last step of multiple white balance algorithms.
Namespace:
OpenCvSharp.XPhoto
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static void ApplyChannelGains(
InputArray src,
OutputArray dst,
float gainB,
float gainG,
float gainR
)
Public Shared Sub ApplyChannelGains (
src As InputArray,
dst As OutputArray,
gainB As Single,
gainG As Single,
gainR As Single
)
public:
static void ApplyChannelGains(
InputArray^ src,
OutputArray^ dst,
float gainB,
float gainG,
float gainR
)
static member ApplyChannelGains :
src : InputArray *
dst : OutputArray *
gainB : float32 *
gainG : float32 *
gainR : float32 -> unit
Parameters
- src
- Type: OpenCvSharpInputArray
Input three-channel image in the BGR color space (either CV_8UC3 or CV_16UC3) - dst
- Type: OpenCvSharpOutputArray
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