colorChangeAsync function
Future<Mat>
colorChangeAsync(
- InputArray src,
- InputArray mask, {
- double redMul = 1.0,
- double greenMul = 1.0,
- 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);
},
);
}