MMACH commands


PROGRAM NAME

vicanon - Inf-Canonical Operator

DESCRIPTION

vicanon will do the n-canonical dual transformation of an input image by a set of n structuring elements, generated after two input structuring elements. The number of structuring elements is the integer part of 8 (maximum number of struct. els. achieved by rotation of one struct. el.) divided by r (the rotation step).

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 0 0 0 End Points 0 1 0 1 0 1 0 0 0 1 1 1

0 0 0 1 1 1 Isolated Points 0 1 0 1 0 1 0 0 0 1 1 1

1 0 0 0 1 1 Triple Points 0 1 1 1 0 0 1 0 0 0 1 1

1 0 1 0 1 0 Triple Points 0 1 0 1 0 1 1 0 0 0 1 1

1 0 0 0 1 1 Triple Points 0 1 0 1 0 1 1 0 1 0 1 0

REQUIRED ARGUMENTS

-i
type: infile
desc: input image
-str1
type: infile
desc: Structuring Element
-str2
type: infile
desc: Structuring Element
-r
type: integer toggle
desc: Rotation step
allowed values:
-o
type: outfile
desc: resulting output image

OPTIONAL ARGUMENTS

none

EXAMPLES

vicanon -i ball.xv -str1 b272.str -str2 b273.str -r 2 -o outimage.xv

Will do the n-canonical dual transformation of image "ball.xv" by a set of 4 structuring elements, generated after b272.str and b273.str, with the resulting image written to "outimage.xv".

SEE ALSO

RESTRICTIONS

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