MMACH commands
PROGRAM NAME
vncondthick - N-1 compositions of Conditional Thickenings
DESCRIPTION
vncondthick
will do N sucessive cond. thickenings of an image.
The output image data type will be the same as that of the highest data type
of the input image.
Some useful pairs of structuring elements:
0 0 0 1 1 1
Homotopic Skeleton 0 1 0 0 0 0
1 1 1 0 0 0
0 0 0 1 0 0
Homotopic Marking 0 1 1 1 0 0
0 0 0 1 0 0
0 0 0 0 0 0
Skeleton Pruning 0 1 0 1 0 1
0 0 0 1 1 1
1 1 1 0 0 0
Boundary 1 1 1 0 0 0
1 1 1 0 0 0
REQUIRED ARGUMENTS
- -i1
-
type: infile
desc: input image 1
- -i2
-
type: infile
desc: input image 2
- -str1
-
type: infile
desc: Structuring Element
- -str2
-
type: infile
desc: Structuring Element
- -n
-
type: integer
desc: size of struct element
bounds: value > 0
- -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
vncondthick -i feath.xv -str1 b1.str -str2 b2.str -n 5 -r 1 -o outimage.xv
Will do 5 successive thickenings (vncondthick) of the input image "feath.xv" by the structuring element b1.str and b2.str, rotating the struct. els. 1 step after each thinning. The resulting image will be written to "outimage.xv".
SEE ALSO
vcast1(1)
RESTRICTIONS
vncondthick
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.
REFERENCES
COPYRIGHT
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.