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
srcInputArrayInput 8-bit 3-channel image.
maskInputArrayInput 8-bit 1 or 3-channel image.
dstOutputArrayOutput image with the same size and type as src.
redMulfloatR-channel multiply factor.
greenMulfloatG-channel multiply factor.
blueMulfloatB-channel multiply factor.