MMACH commands
PROGRAM NAME
vlabelm - Labeling of a binary image
DESCRIPTION
vlabelm
will do the labeling of an input binary image.
4-connectivity or 8-connectivity labeling can be chosen.
REQUIRED ARGUMENTS
- -i
-
type: infile
desc: input image
- -cv
-
type: integer toggle
desc: connectivity
allowed values:
- 4 (4 connectivity),
- or 8 (8 connectivity)
- -o
-
type: outfile
desc: resulting output image
OPTIONAL ARGUMENTS
none
EXAMPLES
vlabelm -i ball.xv -cv 4 -o outimage.xv
Will do the 4-connectivity labeling of image "ball.xv", with the resulting image written to "outimage.xv".
SEE ALSO
RESTRICTIONS
vlabelm
The input image should be a binary image of the VIFF_TYP_1_BYTE (byte) data type (pixel values can be 0 or 255). The output image will be of the VIFF_TYP_2_BYTE (short) data type.
REFERENCES
COPYRIGHT
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.