lvsurf

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