MMACH (lmmach) functions


LIBRARY ROUTINE

lvlabelm - Do the labeling of a binary image.

LIBRARY CALL

int
lvlabelexp(xvimage *img1, int cv, xvimage *img2)

INPUT

none

OUTPUT

none

RETURN VALUE

TRUE (1) on success, FALSE (0) on failure

DESCRIPTION

lvlabelexp Will do the labeling of a binary image. img1 is the input image (of the VIFF_TYP_1_BYTE data type), img2 is the output image (of the VFF_TYP_2_BYTE data type). cv is an integer parameter that indicates wich connectivity is desired (4 for 4-connectivity or 8 for 8-connectivity).

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

lvlabelexp The input and output images must be of the same size. The input and output image data types should be, respectively, VFF_TYP_1_BYTE and VFF_TYP_2_BYTE.

MODIFICATION

none

FILES

$MMACH/objects/library/lmmach/src/lvlabelm.c

SEE ALSO

lmmach(3)

COPYRIGHT

Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.