bitwiseXORAsync function
Future<Mat>
bitwiseXORAsync(
- InputArray src1,
- InputArray src2, {
- OutputArray? dst,
- 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, {
OutputArray? dst,
InputArray? mask,
}) async {
dst ??= Mat.empty();
return mask == null
? cvRunAsync0(
(callback) => ccore.cv_bitwise_xor(src1.ref, src2.ref, dst!.ref, callback),
(c) {
return c.complete(dst);
},
)
: cvRunAsync0(
(callback) => ccore.cv_bitwise_xor_1(src1.ref, src2.ref, dst!.ref, mask.ref, callback),
(c) {
return c.complete(dst);
},
);
}