www.emgu.com/wiki
Perform an elementwise XOR operation with another image, using a mask, and return the result

Declaration Syntax
Public Function Xor ( _
img2 As Image(Of TColor, TDepth), _
mask As Image(Of Gray, Byte) _
) As Image(Of TColor, TDepth)

Return Value
The result of the XOR operation
Assembly:
Emgu.CV (Module: Emgu.CV) Version: 1.3.0.0 (1.3.0.0)