MMACH commands
PROGRAM NAME
vcondskthick - Conditional Exoskeleton by Thickening
DESCRIPTION
vcondskthick
will do the conditional exoskeleton by thickening of an input image by a conditional image and a set of structuring elements.
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
- -r
-
type: integer toggle
desc: Rotation step
allowed values:
- 1 (Rotation step),
- 2 (Rotation step),
- or 4 (Rotation step)
- -d
-
type: boolean
desc: rotation direction
- -o
-
type: outfile
desc: resulting output image
OPTIONAL ARGUMENTS
none
EXAMPLES
vcondskthick -i1 ball.xv -i2 feath.xv -str1 b272.str -str2 b273.str -r 1 -o outimage.xv
Will do the conditional exoskeleton by thickening of image 1 "ball.xv" by the structuring set b272.str and b273.str using "feath.xv" as a conditional image, rotating the struct. els. 1 step after each iteration, with the resulting image written to "outimage.xv".
SEE ALSO
RESTRICTIONS
vcondskthick
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.