RETRO commands


PROGRAM NAME

vgrow - Compute the Median Axis Inverse Transform (K1)

DESCRIPTION

vgrow 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.

This transformation assigns the value 255 to any pixel whose distance to at least one median axis pixel, is less than or equal to the value of this pixel.
The user is referred 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.

REQUIRED ARGUMENTS

-i
type: infile
desc: input image
-o
type: outfile
desc: output image

OPTIONAL ARGUMENTS

none

EXAMPLES

vgrow -i image1 -o image2
Computes the median axis transform.
For this routine, the image must be a median axis representation of an image (obtained from vmediaxis).

SEE ALSO

lvgrow(3), lvdistance(3), vdistance(1), lvmediaxis(3), vmediaxis(1)

RESTRICTIONS

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

REFERENCES

COPYRIGHT

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