[−][src]Function opencv::xphoto::apply_channel_gains
pub fn apply_channel_gains(
src: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
gain_b: f32,
gain_g: f32,
gain_r: f32
) -> Result<()>
Implements an efficient fixed-point approximation for applying channel gains, which is the last step of multiple white balance algorithms.
Parameters
- src: Input three-channel image in the BGR color space (either CV_8UC3 or CV_16UC3)
- dst: Output image of the same size and type as src.
- gainB: gain for the B channel
- gainG: gain for the G channel
- gainR: gain for the R channel