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