MMACH (lmmach) functions


LIBRARY ROUTINE

lvstrflat - Customizes a morphological planar kernel via keyboard entry.

LIBRARY CALL

int
lvstrset (mat_str *ker, int s00, int s10, int s20, int s01, int s11, int s21, int s02, int s12, int s22)

INPUT

none

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

vstrset Creates a new morphological planar kernel via keyboard entry (writes a file).

The term Structuring element is more often used than morphological kernel.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

vstrset will only accept values of 0 (background) or 1 (domain) for the kernel pixel value.

The structuring element is a subset of the matrix 3x3.

MODIFICATION

none

FILES

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

SEE ALSO

lmmach(3)

COPYRIGHT

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