MMACH commands


PROGRAM NAME

vnconddil - N times (with respect to the composition) the conditional dilation

DESCRIPTION

vnconddil will do N sucessive cond. dilations 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.

REQUIRED ARGUMENTS

-i1
type: infile
desc: first input image
-i2
type: infile
desc: second input image
-str
type: infile
desc: Structuring Element
-n
type: integer
desc: number of cond. dilations
bounds: value > 0
-o
type: outfile
desc: resulting output image

OPTIONAL ARGUMENTS

none

EXAMPLES

vnconddil -i1 ball.xv -i2 feath.xv -str b272.str -n 5 -o outimage.xv

Will do 5 sucessive cond. dilations 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".

SEE ALSO

RESTRICTIONS

vnconddil 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.

REFERENCES

COPYRIGHT

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