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 {
return cvRunAsync(
(callback) => cffi.ColorChange_Async(
src.ref,
mask.ref,
redMul,
greenMul,
blueMul,
callback,
),
(c, pdst) => c.complete(Mat.fromPointer(pdst.cast<cvg.Mat>())),
);
}