Path: utzoo!mnetor!uunet!husc6!cmcl2!rutgers!princeton!phoenix!pucc!KOERNER From: KOERNER@pucc.Princeton.EDU (Michael Koerner) Newsgroups: comp.graphics Subject: GrayScale -> Pseudocolor Question Message-ID: <4103@pucc.Princeton.EDU> Date: 23 Dec 87 22:07:14 GMT Reply-To: KOERNER@pucc.Princeton.EDU Organization: Princeton University, NJ Lines: 13 Disclaimer: Author bears full responsibility for contents of this article 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.