MMACH commands
PROGRAM NAME
vtoggle - Toggle of Two Images
DESCRIPTION
vtoggle
will do the toggle between two input images pixel by pixel.
The two input images must be of the same size and have the same
number of data bands. 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
- -i3
-
type: infile
desc: third input image
- -o
-
type: outfile
desc: resulting output image
OPTIONAL ARGUMENTS
none
EXAMPLES
vtoggle -i1 feath.xv -i2 openfeath.xv -i3 closefeath.xv -o outimage.xv
Will do the toggle between image 2 "openfeath.xv" and image 2 "closefeath.xv"
with the resulting image written to "outimage.xv".
SEE ALSO
vcast1(1)
RESTRICTIONS
vtoggle
can be defined for all data types supported by Khoros (except bit), but at the moment it has been implemented just for unsigned char type.
REFERENCES
COPYRIGHT
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.