[comp.graphics] GrayScale -> Pseudocolor Question

KOERNER@pucc.Princeton.EDU (Michael Koerner) (12/24/87)

I've got some 8-bit images that were captured with a B/W frame grabber
and would like to display them on a color monitor using some pseudocolor
function.  I need a mapping (or function) for the gray levels 0->255 to
a combination of Red/Green/Blue values for the color look-up table.
 
One option would be to (in HSV space) fix a hue and saturation, then
move in value.  The result would be something like blue->green->red but
I'd really prefer having my 0's be black and my 255's be white (and
still use a spectrum of colors to increase the grayscale resolution).
 
Is there a standard way to do this?  I'm thinking along the lines
of changing a parameter(s) in another color space then converting to
RGB.  Thanks in advance for any help that you can provide.