Re: True colors and IDL [message #6004] |
Mon, 15 April 1996 00:00 |
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
____________________________________________________________ ______________
|
|
|