illuminationChangeAsync function

Future<Mat> illuminationChangeAsync(
  1. InputArray src,
  2. InputArray mask, {
  3. double alpha = 0.2,
  4. double beta = 0.4,
})

Implementation

Future<Mat> illuminationChangeAsync(
  InputArray src,
  InputArray mask, {
  double alpha = 0.2,
  double beta = 0.4,
}) async {
  final dst = Mat.empty();
  return cvRunAsync0(
    (callback) => cphoto.cv_illuminationChange(src.ref, mask.ref, dst.ref, alpha, beta, callback),
    (c) {
      return c.complete(dst);
    },
  );
}