MMACH commands
PROGRAM NAME
vcloseseg - Closing by a straight line segment
DESCRIPTION
vcloseseg
will do an closing by a straigth line segment.
The line segment is defined by its length (from 1 to 50), and
by its angle with the horizontal (from -180 deg. to +180 deg.).
the output image will have the same type as the input image.
REQUIRED ARGUMENTS
- -i
-
type: infile
desc: input image
- -alfa
-
type: integer
desc: angle of the line segment from the horizontal
bounds: -180 < [-alfa] < 180
- -length
-
type: integer
desc: length of the line segment
bounds: 0 < [-length] < 50
- -o
-
type: outfile
desc: resulting output image
OPTIONAL ARGUMENTS
none
EXAMPLES
vcloseseg -i imi.xv -length 5 -angle 90 -o imo.xv
Will realize an closing of the image "imi.xv" by the straigth line segment defined as 5 pixels long, and oriented at 90 deg. from the horizontal. The resulting image will be written to "imo.xv".
^
|
| 90 deg.
|\
x ---------> Horizontal
SEE ALSO
RESTRICTIONS
vcloseseg
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.