vxor(1)

PROGRAM
vxor - Exclusive OR two images pixel by pixel.

SYNTAX

vxor

-i1 first input image

-i2 second input image

-o  resulting output image

[-V]
    Gives the version for vxor

[-U]
    Gives the usage for vxor

[-P]
    Prompts for command line options

[-A [file1]]
    Creates the answer file called vxor.ans or file1

[-a [file1]]
    Uses vxor.ans or file1 as the answer file

DESCRIPTION
vxor computes the logical exclusive OR between two images pixel by pixel.

If the input image pixels are either both zero or both nonzero, then the corresponding output pixel is set to zero. Otherwise, the output pixel is assigned the value of the nonzero input pixel.

The input images may be of the same or different data types. If the input images are of different data types, then both input images will be upcast to the highest input image data type. The output image data type will be the same as that of the highest data type of the input images.

REQUIRED ARGUMENTS

-i1 type: infile
    desc: first input image

-i2 type: infile
    desc: second input image

-o  type: outfile
    desc: resulting output image

OPTIONAL ARGUMENTS
none

EXAMPLES
vxor -i1 input.image1 -i2 input.image2 -o output.image

This command takes the exclusive OR of input.image1 and input.image2 and stores the result in output.image.

SEE ALSO
intro(1), verror(3), vgparms(3), vutils(3), lvxor(3) lvcast(3)

RESTRICTIONS
vxor will not operate on transform data storage type viff files.

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.