MMACH commands


PROGRAM NAME

vnthick - N-1 compositions of Thickenings

DESCRIPTION

vnthick will do N successive 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 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

-i
type: infile
desc: input image
-str1
type: infile
desc: Structuring Element
-str2
type: infile
desc: Structuring Element
-n
type: integer
desc: number of thickenings
bounds: value > 0
-r
type: integer toggle
desc: Rotation step
allowed values:
-d
type: boolean
desc: rotation direction
-o
type: outfile
desc: resulting output image

OPTIONAL ARGUMENTS

none

EXAMPLES

vnthick -i feath.xv -str1 b1.str -str2 b2.str -n 5 -r 1 -o outimage.xv

Will do 5 successive thickenings (vnthick) 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

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