<< xgetpixel SIP - Scilab Image Processing Toolbox

SIP - Scilab Image Processing Toolbox >> SIP - Scilab Image Processing Toolbox > xor

xor

Exclusive or

Calling Sequence

C = xor(A,B)

Parameters

A, B,
Input arrays

Parameters

C
resulting boolean array

Description

"xor" is a simple convenience function to calculate the exclusive OR logical operator on the corresponding elements of the input arrays. The resulting element is %f if either the corresponding elements in A or in B are nonzero, but not both.

Examples

A = [0   0  %pi %eps] 
B = [0 -6.9  0   1  ]

C = xor(A,B)
C =
|  F  T   T  F  |

Authors

Availability

The latest version of the Scilab Image Processing toolbox can be found at

http://siptoolbox.sourceforge.net

See Also


<< xgetpixel SIP - Scilab Image Processing Toolbox