Table of Contents

Method ColorChange

Namespace
OpenCvSharp
Assembly
OpenCvSharp.dll

ColorChange(InputArray, InputArray, OutputArray, float, float, float)

Given an original color image, two differently colored versions of this image can be mixed seamlessly. Multiplication factor is between 0.5 to 2.5.

public static void ColorChange(InputArray src, InputArray mask, OutputArray dst, float redMul = 1, float greenMul = 1, float blueMul = 1)

Parameters

src InputArray

Input 8-bit 3-channel image.

mask InputArray

Input 8-bit 1 or 3-channel image.

dst OutputArray

Output image with the same size and type as src.

redMul float

R-channel multiply factor.

greenMul float

G-channel multiply factor.

blueMul float

B-channel multiply factor.