[−][src]Function opencv::photo::color_change
pub fn color_change(
src: &dyn ToInputArray,
mask: &dyn ToInputArray,
dst: &mut dyn ToOutputArray,
red_mul: f32,
green_mul: f32,
blue_mul: f32
) -> Result<()>
Given an original color image, two differently colored versions of this image can be mixed seamlessly.
Parameters
- src: Input 8-bit 3-channel image.
- mask: Input 8-bit 1 or 3-channel image.
- dst: Output image with the same size and type as src .
- red_mul: R-channel multiply factor.
- green_mul: G-channel multiply factor.
- blue_mul: B-channel multiply factor.
Multiplication factor is between .5 to 2.5.
C++ default parameters
- red_mul: 1.0f
- green_mul: 1.0f
- blue_mul: 1.0f