
vor(1)                       Khoros                        vor(1)

PROGRAM
     vor - Logically OR two images pixel by pixel.

SYNTAX
     vor

     -i1            first input image

     -i2            second input image

     -o             resulting output image

     [-V]           Gives the version for vor

     [-U]           Gives the usage for vor

     [-P]           Prompts for command line options

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

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

DESCRIPTION
     vor performs a logical OR between two images.

     For each pair of corresponding input pixels in the input
     images, the corresponding output pixel is assigned the value
     of the first input image pixel in all cases, except when the
     first image pixel is zero and the second input image pixel
     is nonzero.  In this case, the output pixel is set to the
     value of the second input image 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
     vor -i1 input.image1 -i2 input.image2 -o output.image

     This command performs the OR between input.image1 and
     input.image2 and stores the result in output.image.

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), lvor(3) vcast(1)

RESTRICTIONS
     vand will not operate on data storage type transform images.

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

Khoros                    Release: 1.0                          1

