🚀 go-pugleaf

RetroBBS NetNews Server

Inspired by RockSolid Light RIP Retro Guy

Article View: comp.lang.postscript
Article #7916

grayscale -> color mapping ??

#7916
From: Robin Rohlicek
Date: Thu, 02 Feb 1989 20:02
14 lines
779 bytes
I'm looking for information on mapping a grayscale into a colorscale
so that the colors go from "cold" (blue) to "hot" (red and then
white).

I'm currently mapping gray into (s,v,h) values with s=v=1 and
0<=h<=0.667 which gives a "rainbow" (blue-green-yellow-red) and then
converting into (r,g,b) values before output.  I've seen displays
using the "cold" to "hot" mapping and they seem more natural to
interpret.

Does anyone know of any references on this?

Thanks,
	Robin Rohlicek.
Technical Details
Message-ID: <35559@bbn.COM>
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!rohlicek@bbn.com

Show Full Headers
Complete Article Headers
Path: arc1-ca.pugleaf.net!utzoo!utgpu!jarvis.csri.toronto.edu!mailrus!bbn!rohlicek@bbn.com
From: rohlicek@bbn.com (Robin Rohlicek)
Newsgroups: comp.lang.postscript
Subject: grayscale -> color mapping ??
Message-ID: <35559@bbn.COM>
Date: 2 Feb 89 20:02:56 GMT
Sender: news@bbn.COM
Lines: 14