
vdetilt(1)                   Khoros                    vdetilt(1)

PROGRAM
     vdetilt - Remove an illumination gradient from an image by
     subtracting a best-fit plane.

SYNTAX
     vdetilt

     -i             input image

     -o             resulting detilted image

     [-m]           find tilt  operation masking image

     [-p]           if yes, remove mean from image

     [-V]           Gives the version for vdetilt

     [-U]           Gives the usage for vdetilt

     [-P]           Prompts for command line options

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

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

DESCRIPTION
     vdetilt computes the best-fit plane for an image, and then
     subtracts that plane from the image to produce the output.
     This is very handy for correcting illumination gradients in
     a poorly digitized image.  The -p option also removes the
     mean from the image, giving it zero-mean statistics.  If p
     is set to yes (default), then remove mean from image.

     The optional mask image must be of the same data type as the
     input images, and is used to gate the operation.  A non-zero
     mask pixel enables the output pixel to contain the adjusted
     value. A zero mask pixel just transfers the value of the
     corresponding pixel in the first input image to the output
     pixel.

REQUIRED ARGUMENTS
     -i     type: infile
            desc: input image

     -o     type: outfile
            desc: resulting detilted image

OPTIONAL ARGUMENTS
     -m     type: infile
            desc: find tilt  operation masking image

     -p     type: boolean
            desc: if yes, remove mean from image
            default: true

EXAMPLES
SEE ALSO
     intro(1), verror(3), vgparms(3), vutils(3), lvdetilt(3)
     vgettilt(1), lvgettilt(3), vtilt(1), lvtilt(3)

RESTRICTIONS
     vdetilt will not work on BIT, transform or COMPLEX data
     storage types.

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

Khoros                    Release: 1.0                          1

