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.Mat_BitwiseXor(src1.ref, src2.ref, dst!.ref))
: cvRun(() => ccore.Mat_BitwiseXorWithMask(src1.ref, src2.ref, dst!.ref, mask.ref));
return dst;
}