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

Home » Public Forums » archive » Re: Two Images in One Window - Like oplot or /NOERASE
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: Two Images in One Window - Like oplot or /NOERASE [message #27750] Thu, 01 November 2001 07:09 Go to next message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Emmler, Oliver (oemmler@ix.urz.uni-heidelberg.de) writes:

> I produce two images in IDL
>
> a) Reference
> b) ROI of Reference
>
> Now i want to draw first the reference image an then plot the roi with
> another colortable like it is possible for plots with oplot or the keyword
> /noerase. Is there any possibility to do so ?

Commands that display images (e.g. TV) never
erase the display, so put as many images on the
display at once as you like. You can even overlap
them, etc.

If you are on a 24-bit display, just load a new
colortable before you display the second image.
If you are on an 8-bit display you will have to
divide your color table and scale your images
appropriately. Here is an article that describes
how:

http://www.dfanning.com/color_tips/twocolortables.html

Is it just me, or does the whole notion of
8-bit displays sort of date you. It's kind of
like mentioning the Mamas and the Papas, it
seems to me. :-(

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
Re: Two Images in One Window - Like oplot or /NOERASE [message #28934 is a reply to message #27750] Tue, 22 January 2002 21:13 Go to previous message
Paul Joe is currently offline  Paul Joe
Messages: 2
Registered: January 2002
Junior Member
the problem with 24 bit displays is if you want to create a 8bit gif image with
256 shades in each image.

David Fanning wrote:

> Emmler, Oliver (oemmler@ix.urz.uni-heidelberg.de) writes:
>
>> I produce two images in IDL
>>
>> a) Reference
>> b) ROI of Reference
>>
>> Now i want to draw first the reference image an then plot the roi with
>> another colortable like it is possible for plots with oplot or the keyword
>> /noerase. Is there any possibility to do so ?
>
> Commands that display images (e.g. TV) never
> erase the display, so put as many images on the
> display at once as you like. You can even overlap
> them, etc.
>
> If you are on a 24-bit display, just load a new
> colortable before you display the second image.
> If you are on an 8-bit display you will have to
> divide your color table and scale your images
> appropriately. Here is an article that describes
> how:
>
> http://www.dfanning.com/color_tips/twocolortables.html
>
> Is it just me, or does the whole notion of
> 8-bit displays sort of date you. It's kind of
> like mentioning the Mamas and the Papas, it
> seems to me. :-(
>
> Cheers,
>
> David
>
> --
> David W. Fanning, Ph.D.
> Fanning Software Consulting
> Phone: 970-221-0438, E-mail: david@dfanning.com
> Coyote's Guide to IDL Programming: http://www.dfanning.com/
> Toll-Free IDL Book Orders: 1-888-461-0155

--
Paul Joe
paul.joe@ec.gc.ca
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: getting hostname, sharename
Next Topic: Erosion and dilation

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

Current Time: Wed Oct 08 15:47:52 PDT 2025

Total time taken to generate the page: 0.00955 seconds