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

Home » Public Forums » archive » Re: making a color image
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: making a color image [message #55773 is a reply to message #55772] Thu, 06 September 2007 11:13 Go to previous messageGo to previous message
Michael Galloy is currently offline  Michael Galloy
Messages: 1114
Registered: April 2006
Senior Member
On Sep 6, 11:49 am, Greg Hennessy
<greg.henne...@localhost.localdomain> wrote:
> I have three 8 bit images in three filters that I want to display as a
> "true color" image. My workstation should be able to handle it.
> IDL> help,/device
> Available Graphics Devices: CGM HP LJ NULL PCL PRINTER PS REGIS TEK X Z
> Current graphics device: X
> Server: X11.0, The X.Org Foundation, Release 70000000
> Display Depth, Size: 24 bits, (1280,960)
> Visual Class: TrueColor (4)
> Bits Per RGB: 8 (8/8/8)
> Physical Color Map Entries (Emulated / Actual): 256 / 256
> Colormap: Shared, 16777216 colors. Translation table: Bypassed
> Graphics pixels: Combined, Dither Method: Ordered
> Write Mask: 16777215 (decimal) ffffff (hex)
> Graphics Function: 3 (copy)
> Current Font: <default>, Current TrueType Font: <default>
> Default Backing Store: Pixmap.
>
> When I try what I think should work:
>
> IDL> tv,[[v],[r],[i]]
>
> what is displayed is black and white only. I *used* to know how to do
> this 15 years ago when I had an IVAS, but haven't done it with a
> workstation. I'm probably missing something obvious, but what?
>
> Thanks.

Try:

IDL> device, decomposed=1
IDL, tv, [[[r]], [[g]], [[b]]], true=3

Mike
--
www.michaelgalloy.com
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: making a color image
Next Topic: Update to XStretch

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

Current Time: Wed Dec 03 09:17:59 PST 2025

Total time taken to generate the page: 1.76433 seconds