
vabsdiff(1)                  Khoros                   vabsdiff(1)

PROGRAM
     vabsdiff - Compute the absolute difference between two
     images pixel by pixel.

SYNTAX
     vabsdiff

     -i1            first input image

     -i2            second input image

     -o             resulting output image

     [-m]           operation masking image

     [-V]           Gives the version for vabsdiff

     [-U]           Gives the usage for vabsdiff

     [-P]           Prompts for command line options

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

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

DESCRIPTION
     vabsdiff computes the absolute difference between two input
     images of the same size and same number of data bands.

     The mask image is used to gate the operation.  A non-zero
     mask pixel enables the output pixel to contain the absolute
     difference. A zero mask pixel just transfers the value of
     the corresponding pixel in the first input image to the out-
     put pixel.

     The two input images must be of the same size and have the
     same number of data bands, as must the optional mask image.
     The input images may be of the same or different data types.
     If the input images are of different data types, then all
     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
     -m     type: infile
            desc: operation masking image

EXAMPLES
     vabsdiff -i1 input.image1 -i2 input.image2 -o output.image
     -m mask.image

     This finds the absolute difference pixel by pixel between
     input.image1 and input.image2 using a mask.  The result is
     stored in output.image.

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

RESTRICTIONS
     vabsdiff will not operate on:
          Transform
          Complex
          or Bit
     data storage types.

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

Khoros                    Release: 1.0                          1

