bitwiseXOR function
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
Mat bitwiseXOR(
InputArray src1,
InputArray src2, {
OutputArray? dst,
InputArray? mask,
}) {
dst ??= Mat.empty();
mask == null
? cvRun(() => ccore.cv_bitwise_xor(src1.ref, src2.ref, dst!.ref, ffi.nullptr))
: cvRun(() => ccore.cv_bitwise_xor_1(src1.ref, src2.ref, dst!.ref, mask.ref, ffi.nullptr));
return dst;
}