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

Home » Public Forums » archive » Re: True colors and IDL
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
Re: True colors and IDL [message #6004] Mon, 15 April 1996 00:00
ps is currently offline  ps
Messages: 14
Registered: September 1994
Junior Member
In article <316EAAAA.41C6@eitv2.nascom.nasa.gov>,
Jeffrey Newmark <newmark@eitv2.nascom.nasa.gov> writes:
> Hi,
>
> I am running IDL 4.0.1 on a DEC AlphaStation (Digital UNIX) with
> a 24 bit monitor. I routinely display a large number of 1024x1024
> images from FITS files. These images are displayed using 1 of 4
> color tables we have added to the standard IDL set. I am presently
> setting device,pseudo_color=8 since I haven't found a QUICK
> way to create the TRUECOLOR images on the fly.

I don't know about the rest of the pseudo-color stuff, but if you want
to display a color-mapped image P, you can use the following command
(supposing the colormap is stored in the variables R, G and B):

tv, [[[R(P)]],[[G(P)]],[[B(P)]]], true=3

should be fast enough!?

Peter


~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ ~~~~~~~~~~~~~~
Peter "Pit" Suetterlin http://www.kis.uni-freiburg.de/~ps
Kiepenheuer Institut fuer Sonnenphysik
Tel.: +49 761 3198-210 ps@kis.uni-freiburg.de
-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * -- * ...-- * --
Come and see the stars! http://www.kis.uni-freiburg.de/~ps/SFB
Sternfreunde Breisgau e.V. Tel.: +49 761 73571 or 278588
____________________________________________________________ ______________
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: A simple 'image frames' package
Next Topic: Re: Structures and COMMON blocks

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

Current Time: Wed Oct 08 15:54:24 PDT 2025

Total time taken to generate the page: 0.00550 seconds