bitwiseXORAsync function

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

BitwiseXor calculates the per-element bit-wise "exclusive or" operation on two arrays or an array and a scalar.

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

Implementation

Future<Mat> bitwiseXORAsync(InputArray src1, InputArray src2, {InputArray? mask}) async => cvRunAsync(
      (callback) => mask == null
          ? ccore.core_BitwiseXor_Async(src1.ref, src2.ref, callback)
          : ccore.core_BitwiseXorWithMask_Async(src1.ref, src2.ref, mask.ref, callback),
      matCompleter,
    );