colorChange function

Mat colorChange(
  1. InputArray src,
  2. InputArray mask, {
  3. double redMul = 1.0,
  4. double greenMul = 1.0,
  5. double blueMul = 1.0,
})

ColorChange mix two differently colored versions of an image seamlessly. For further details, please see: https://docs.opencv.org/master/df/da0/group__photo__clone.html#ga6684f35dc669ff6196a7c340dc73b98e

Implementation

//
/// For further details, please see:
/// https://docs.opencv.org/master/df/da0/group__photo__clone.html#ga6684f35dc669ff6196a7c340dc73b98e
Mat colorChange(
  InputArray src,
  InputArray mask, {
  double redMul = 1.0,
  double greenMul = 1.0,
  double blueMul = 1.0,
}) {
  final dst = Mat.empty();
  cvRun(
    () => cphoto.ColorChange(src.ref, mask.ref, dst.ref, redMul, greenMul, blueMul),
  );
  return dst;
}