DIPlib Documentation - ©1995-2005 Pattern Recognition Group, Delft University of Technology.

Xor

logic operation

SYNOPSIS

#include "dip_math.h"

dip_Error dip_Xor ( in1, in2, out )

DATATYPES

binary, integer

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

And, Or, Invert

DIPlib on-line documentation | Function reference | Global function index