This method performs a bit-by-bit Xor calculation for the Input1 and Input2 images. This function can be used to combine binary masks or regions. All the pixels that are white in input image 1 or input image 2 are set to white in the resulting image. Pixels that are white in both input images are set to black.