lvgrow(3)

LIBRARY ROUTINE
lvgrow - Computes the median axis inverse transform.

LIBRARY CALL
#include "vinclude.h"
int
lvgrow(image)
struct xvimage *image;

INPUT

    image _ an xvimage structure

OUTPUT

    image _ holds the result.

MODIFICATIONS
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

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.

ADVICE:

    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.

SEE ALSO
vgrow(1), intro(3), vipl(3), verror(3), vutils(3) lvdistance(3), vdistance(1), lvmediaxis(3), vmediaxis(1)

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

AUTHOR
Pascal Adam

COPYRIGHT
Copyright 1991, University of New Mexico. All rights reserved.