Re: Two Images in One Window - Like oplot or /NOERASE [message #28934 is a reply to message #27750] |
Tue, 22 January 2002 21:13  |
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
|
|
|