lvsurf(3) C LIBRARY FUNCTIONS lvsurf(3) LIBRARY ROUTINE lvsurf - Compute surface parameters (normal and angle) LIBRARY CALL #include "vinclude.h" int lvsurf(img1,img2,img3) struct xvimage *img1, **img2, **img3; INPUT img1 Pointer to FLOAT image used to represent a surface. OUTPUT norm Pointer to image pointer that will receive the image containing the normal vectors to each pixel on the surface. ang Pointer to image pointer that will receive the image containing the angle between the surface normal and the reference plane nor- mal. MODIFICATIONS 7-Mar-91 Scott Wilson - Added transfer of pixel sizes from input to output DESCRIPTION _l_v_s_u_r_f 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. SEE ALSO vsurf(1), intro(3), vipl(3), verror(3), vutils(3) RESTRICTIONS Works only on FLOAT images. AUTHOR Scott Wilson COPYRIGHT Copyright 1991, University of New Mexico. All rights reserved. University of New MexicoLast change: 04/16/91 1 lvsurf(3) C LIBRARY FUNCTIONS lvsurf(3) University of New MexicoLast change: 04/16/91 2