colorChangeAsync function

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

Implementation

Future<Mat> colorChangeAsync(
  InputArray src,
  InputArray mask, {
  double redMul = 1.0,
  double greenMul = 1.0,
  double blueMul = 1.0,
}) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_colorChange(src.ref, mask.ref, dst.ref, redMul, greenMul, blueMul, callback),
    (c) {
      return c.complete(dst);
    },
  );
}