
vdiff(1)                     Khoros                      vdiff(1)

PROGRAM
     vdiff - Performs image differentiation by running 2 NxN
     weighted operators on an image.

SYNTAX
     vdiff

     -i1            input image filename

     -i2            input kernel (operator) in X

     -i3            input kernel (operator) in Y

     -o             output image filename

     [-V]           Gives the version for vdiff

     [-U]           Gives the usage for vdiff

     [-P]           Prompts for command line options

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

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

DESCRIPTION
     vdiff performs image differentiation by running two NxN
     weighted operators on an image.  It can be used to implement
     a Sobel filter.

     vdiff only operates on BYTE type images. Both kernels must
     have the same dimensions. Kernels may be either type INTEGER
     or FLOAT.

REQUIRED ARGUMENTS
     -i1    type: infile
            desc: input image filename

     -i2    type: infile
            desc: input kernel (operator) in X

     -i3    type: infile
            desc: input kernel (operator) in Y

     -o     type: outfile
            desc: output image filename

OPTIONAL ARGUMENTS
     none

EXAMPLES
     vdiff -i1 input.image -i2 kernel.1 -i3 kernel.2 -o
     output.image

     This command runs the two operator images on the input image
     and stores the results in output.image.  If the appropriate
     kernels are used this could be a Sobel filter.

SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), lvdiff(3)

RESTRICTIONS
     The input image must be of type BYTE and the kernels must be
     of type INTEGER or FLOAT.

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

Khoros                    Release: 1.0                          1

