comp.lang.idl-pvwave archive
Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado

Home » Public Forums » archive » Re: IDL and 24 Bits--help + added question
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Return to the default flat view Create a new topic Submit Reply
Re: IDL and 24 Bits--help + added question [message #2216 is a reply to message #2211] Tue, 21 June 1994 10:07 Go to previous messageGo to previous message
velt is currently offline  velt
Messages: 19
Registered: June 1994
Junior Member
In article 772209127@imsy1.nrl.navy.mil, grunes@imsy1.nrl.navy.mil (Mitchell R Grunes) writes:
> In article <PWALKER.94Jun20165914@jean-luc.ncsa.uiuc.edu> pwalker@ncsa.uiuc.edu (Paul Walker) writes:
<stuff on pseudo-color on true-color visual deleted>
> ----------NOW FOR MY QUESTION----------
>
> Actually, I have been trying to find a way to simulate 24 bit color for
> TV commands on 8 bit color displays (e.g., Sun, VGA...I think it could
> be done with some fancy dithering, but I don't want to do it). Does
> anyone have (or know of) a routine to do it?
> Mitchell R Grunes (grunes@imsy1.nrl.navy.mil)
> Allied-Signal Technical Services
> c/o Code 7230 Naval Research Lab
>

I don't think there are ready-made programs in IDL to do it. In the documentation
for John Bradley's xv there is mention of
"... ppmquant, written by Jef Poskanzer. This algorithm also uses
a version of Heckbert's median cut algorithm, but is capable of
picking 'better' colors, and it doesn't dither."
This may be an algorithm you want to look into.

Good Luck,
Robert Velthuizen
Digital Medical Imaging Program of the
H. Lee Moffitt Cancer Center and Research Institute at the
University of South Florida.
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: event fields
Next Topic: Re: Widget Colors

-=] Back to Top [=-
[ Syndicate this forum (XML) ] [ RSS ] [ PDF ]

Current Time: Mon Oct 27 02:19:40 PDT 2025

Total time taken to generate the page: 0.00229 seconds