MMACH commands


PROGRAM NAME

vunion - Union of Two Images

DESCRIPTION

vunion will do the supremum of 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. A parameter defining a constant image can be entered instead of the second image. 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
-o
type: outfile
desc: resulting output image

Mutually Exclusive Group; you must specify ONE of:

-i2
type: infile
desc: second input image
default: {none}
OR
-c
type: integer
desc: sub constant
default: 0
bounds: 0 < [-c] < 255

OPTIONAL ARGUMENTS

none

EXAMPLES

vunion -i1 ball.xv -i2 feath.xv -o outimage.xv

Will do the supremum of image 1 "ball.xv" and image 2 "feath.xv" with the resulting image written to "outimage.xv".

SEE ALSO

vcast1(1)

RESTRICTIONS

vunion can be defined for all data types supported by Khoros, but at the moment it has been implemented just for the bit and unsigned char types.

REFERENCES

COPYRIGHT

Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.