RETRO (vipl) functions


LIBRARY ROUTINE

lvgrow - Computes the median axis inverse transform.

LIBRARY CALL

int lvgrow(
	xvimage *image)

INPUT

OUTPUT

RETURN VALUE

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

DESCRIPTION

lvgrow computes the median axis inverse transform.

This transformation allows the recovery of the original image from a median axis image.

This routine is useful for displaying the modifications introduced after any transformation of the median axis.

The principle of this transform is to assign the value 255 to any pixel whose distance to at least one medial axis pixel, is less than or equal to the value of this pixel.

The user is refered to the man pages of the median axis routine as an aid in understanding the inverse transform.

For this routine, the image must be a byte image, with the gray level value of 0 for the background. The pixels that do not belong to the background are supposed to belong to a median axis, so it is advisable to use an image obtained from the median axis transform.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

vgrow works only on BYTE images that represent a coherent medial axis of an image.

MODIFICATION

Ghosted by Pascal ADAM Fri Jun 1 17:35:45 MDT 1990 Bug fixed by Pascal ADAM Mon Jun 4 10:04:07 MDT 1990

FILES

$RETRO/objects/library/vipl/src/lvgrow.c

SEE ALSO

vipl(3)

COPYRIGHT

Copyright (C) 1993 - 1997, Khoral Research, Inc. ("KRI") All rights reserved.