bitwisexorcv
Performs bitwise exclusive or on given inputs source1 and source2.
Syntax
R = bitwisexorcv(source1, source2)
R = bitwisexorcv(source1, source2, mask)
Inputs
- source1
- Handle of an image command.
- source2
- Handle of an image or an integer.
- mask
- Optional handle of an 8-bit single channel image or a 2D matrix of natural numbers representing the elements in R that need to be changed.
Outputs
- R
- Handle of the output image.
Example
handle1 = imreadcv('image1.jpg');
handle2 = imreadcv('image2.jpg');
R = bitwisexorcv(handle1, handle2);