bitwiseANDAsync function

Future<Mat> bitwiseANDAsync(
  1. InputArray src1,
  2. InputArray src2, {
  3. InputArray? mask,
})

BitwiseAnd computes bitwise conjunction of the two arrays (dst = src1 & src2). Calculates the per-element bit-wise conjunction of two arrays or an array and a scalar.

For further details, please see: https://docs.opencv.org/master/d2/de8/group__core__array.html#ga60b4d04b251ba5eb1392c34425497e14

Implementation

Future<Mat> bitwiseANDAsync(
  InputArray src1,
  InputArray src2, {
  InputArray? mask,
}) async =>
    cvRunAsync(
      (callback) => mask == null
          ? cffi.core_BitwiseAnd_Async(src1.ref, src2.ref, callback)
          : cffi.core_BitwiseAndWithMask_Async(src1.ref, src2.ref, mask.ref, callback),
      matCompleter,
    );