unixdev.net


Switch to SpeakEasy.net DSL

The Modular Manual Browser

Home Page
Manual: (plan9)
Page:
Section:
Apropos / Subsearch:
optional field

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)



                                                                      LUM(9.1)