vaddm - Add Image1 to Image2 Pixel by Pixel
Adds the first input image to the second input image (result = image1 + image2), with an optional operation gating image. The second input image can be entered as a constant, optionally.
If the sum of two pixel values is more than the maximum value of the image data type, the resultant pixel value will be set to this maximum value.
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.
desc: first input image
desc: resulting output image
Mutually Exclusive Group; you must specify ONE of:
desc: second input image
desc: add constant
bounds: 0 < [-c] < 255
vaddm -i1 input.image1 -i2 input.image2 -o output.image
This subtracts input.image2 from input.image1 stores the results in output.image.
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.
The structuring elements are subsets of the 3x3 matrix and the origin is always at the center of this matrix.
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.