RETRO commands


PROGRAM NAME

vdetilt - Remove Illumination Gradient by Subtracting Best-Fit Plane (K1)

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 "remove mean" option also removes the mean from the image, giving it zero-mean statistics. If "remove mean" 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
default: {none}
-p
type: boolean
desc: if yes, remove mean from image
default: true

EXAMPLES

SEE ALSO

vgettilt, lvgettilt, vtilt, lvtilt

RESTRICTIONS

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

REFERENCES

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.