AVS Modules						              rgbtogray
Lawrence Berkeley Laboratory

NAME
     rgbtogray - convert an rgb image into gray scale 

SUMMARY
     Name	   rgbtogray

     Type	   mapper

     Inputs	   field 4-vector byte

     Outputs	   field scalar byte

     Parameters	   


DESCRIPTION
    The rgbtogray module will receive an AVS image as input, 
    then compute an output field which is a gray scale version
    of the rgb components of the input image.

INPUTS

        Data Field (required; field 4-vector byte)


OUTPUTS

	Field scalar byte

EXAMPLE	NETWORK

	READ IMAGE  
             |
         RGBTOGRAY
             |
        ------------
        |  |   |   |
       COMBINE SCALARS
             |
       DISPLAY IMAGE

AUTHOR
	Wes Bethel, Lawrence Berkeley Laboratory

AVS Modules						              rgbtogray
Lawrence Berkeley Laboratory
