LUM(9.1)                                                 LUM(9.1)

     NAME
          lum - compute luminance

     SYNOPSIS
          fb/lum [ input ]

     DESCRIPTION
          Lum computes the luminance of the input picture using the
          NTSC formula L=.299R+.587G+.114B.  Pixel values are mapped
          through the input image's color map, if any.  The resulting
          image is written to standard output.

     SOURCE
          /sys/src/fb/lum.c

     SEE ALSO
          picfile(9.6)

     Page 1                       Plan 9            (printed 12/21/24)