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)

Copyright © 1995 Lucent Technologies. All rights reserved.