RETRO (vipl) functions


LIBRARY ROUTINE

lvsurf - Compute surface parameters (normal and angle)

LIBRARY CALL

int lvsurf(
	xvimage *img1,
	xvimage **img2,
	xvimage **img3)

INPUT

OUTPUT

none

RETURN VALUE

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

DESCRIPTION

lvsurf will take a surface image and produce two output images: one with the normals for each point on the surface and one with the angle between the surface normal and the normal to the zero plane of the image.

The angle output image is in degrees.

The output images are allocated inside lvsurf; the input image is not modified.

ADDITIONAL INFORMATION

none

EXAMPLES

none

SIDE EFFECTS

none

RESTRICTIONS

Works only on FLOAT images.

MODIFICATION

7-Mar-91 Scott Wilson - Added transfer of pixel sizes from input to output

FILES

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

SEE ALSO

vipl(3)

COPYRIGHT

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