MMACH (lmmach) functions


LIBRARY ROUTINE

lvedgeoff - Eliminates the objects that hit the window.

LIBRARY CALL

int
lvedgeoff(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

vedgeoff will eliminate the objects that hit the window. img1 is the input images; b is a structuring element; img2 is the output image.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

lvedgeoff 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/lvedgeoff.c

SEE ALSO

lmmach(3)

COPYRIGHT

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