RETRO commands


PROGRAM NAME

vgettilt - Compute the Best-Fit Plane Parameters for Input File (K1)

DESCRIPTION

vgettilt computes the least-squares best fit plane for an image. The plane will be given by f(x,y)=Ax+By+C with the tilt coefficients in inverse pixels.

If the mask file is specified then only those points in the input image with a corresponding nonzero mask file pixel are used in the computation. The number of points actually contributing to the computation is given with the output data.

The output device or file is specified after the -f option, a filename of # will send the output to stderr.

REQUIRED ARGUMENTS

-i
type: infile
desc: input image
-f
type: outfile
desc: output ASCII file

OPTIONAL ARGUMENTS

-m
type: infile
desc: statistics operation masking image
default: {none}

EXAMPLES

vgettilt -i input -f tilt_info -m mask

SEE ALSO

vtilt, vdetilt

RESTRICTIONS

vgettilt will not operate on bit or complex data storage types, and will not work on multiband images.

REFERENCES

COPYRIGHT

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