MMACH commands
PROGRAM NAME
vnthin - N-1 compositions of Thinnings
DESCRIPTION
vnthin
will do N successive thinnings 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
- -i
-
type: infile
desc: input image
- -str1
-
type: infile
desc: Structuring Element
- -str2
-
type: infile
desc: Structuring Element
- -n
-
type: integer
desc: number of thinnings
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
vnthin -i feath.xv -str1 b1.str -str2 b2.str -n 5 -r 1 -o outimage.xv
Will do 5 successive thinnings (vnthin) 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
vnthin
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.