vconddil - Conditional Dilation
will do the cond. dilation of the first input image by a set structuring element, using the second input image as a conditional image.
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: input image
desc: conditional image
desc: Structuring Element
desc: resulting output image
vconddil -i1 ball.xv -i2 feath.xv -str b272.str -o outimage.xv
Will do the cond. dilation of image 1 "ball.xv" by the structuring set b272.str using "feath.xv" as a conditional image, with the resulting image written to "outimage.xv".
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.