vcloseseg - Closing by a straight line segment
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.
desc: input image
desc: angle of the line segment from the horizontal
bounds: -180 < [-alfa] < 180
desc: length of the line segment
bounds: 0 < [-length] < 50
desc: resulting output image
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
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.
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.