MMACH commands


PROGRAM NAME

vcondthick - Conditional Thickening

DESCRIPTION

vcondthick will do the cond. thickening of the first input image by two set structuring elements, 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.

Some useful pairs of structuring elements:

0 0 0 1 1 1 Conditional Segmentation 0 1 0 0 0 0 1 1 1 0 0 0

0 0 0 1 0 0 Pseudo Convex Hull 0 1 1 1 0 0 0 0 0 1 0 0

1 0 0 0 0 0 Convex Hull 1 0 0 0 1 0 1 0 0 0 0 0

0 0 0 1 1 1 Homotopic Pruning 0 1 0 1 0 1 0 0 0 1 1 1

REQUIRED ARGUMENTS

-i1
type: infile
desc: first input image
-i2
type: infile
desc: second input image
-str1
type: infile
desc: Structuring Element
-str2
type: infile
desc: Structuring Element
-o
type: outfile
desc: resulting output image

OPTIONAL ARGUMENTS

none

EXAMPLES

vcondthick -i1 ball.xv -i2 feath.xv -str1 b272.str -str2 b273.str -o outimage.xv

Will do the cond. thickening of image 1 "ball.xv" by the structuring set b272.str and b273.str using "feath.xv" as a conditional image, with the resulting image written to "outimage.xv".

SEE ALSO

vcast1(1)

RESTRICTIONS

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