DIPlib Documentation - ©1995-2014 Quantitative Imaging Group, Delft University of Technology.

Xor

logic operation

SYNOPSIS

dip_Error dip_Xor ( in1, in2, out )

DATA TYPES

binary

FUNCTION

The function Xor performs the logic XOR operation between the corresponding pixels in in1 and in2, and stores the result in out.

ARGUMENTS

Data typeNameDescription
dip_Imagein1First binary input image
dip_Imagein2Second binary input image
dip_ImageoutOutput image

SEE ALSO

Arith, And, Or, Invert