MMACH (lmmach) functions
LIBRARY ROUTINE
lvclohole - Closes the holes of the objects without changing their contours.
LIBRARY CALL
int
lvclohole(xvimage *img1, mat_str *b, unsigned long border, xvimage *img2)
INPUT
none
OUTPUT
none
RETURN VALUE
TRUE (1) on success, FALSE (0) on failure
DESCRIPTION
vclohole
will close the holes of the objects without changing their contours.
img1 is the input images; b is a structuring element;
img2 is the output image.
ADDITIONAL INFORMATION
none
EXAMPLES
none
SIDE EFFECTS
none
RESTRICTIONS
lvclohole
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.
Due to the simultaneous processing of 32 pixels in BIT images, input images of the BIT data type must be converted to a special data structure before the library is called. This can be accomplished by using the format routine. After the library call, the unformat routine can convert the image back to the BIT data type.
MODIFICATION
Adriano Nagelschmidt Rodrigues: port to new toolbox version.
FILES
$MMACH/objects/library/lmmach/src/lvclohole.c
SEE ALSO
lmmach(3)
COPYRIGHT
Copyright (C) 1993-1997 Junior Barrera, Roberto Lotufo. All rights reserved.