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

Home » Public Forums » archive » Re: Displaying a plot and a true color image on the same window
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: Displaying a plot and a true color image on the same window [message #24895 is a reply to message #24892] Sat, 28 April 2001 18:22 Go to previous messageGo to previous message
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Alok Nagdev (nagdev@csee.usf.edu) writes:

> I'm trying to display a plot using color bar and a few true color image
> on the same window but as soon as the color table is loaded, the true
> color image is displayed according to color bar being used. Is there any
> other way this could be done?? Images I'm displaying are jpeg images.

Well, now that I read this a little more closely,
I think the problem is that you are trying to
display these images on an 8-bit display. This
makes the problem more difficult, but not
impossible.

What you need to do is make all your images and your
color bar share the same color space. I think the
sensible way to do this is to use COLOR_QUAN with
the CUBE keyword set to 6 on all your image. This
will quantitize your colors to 216 values that
can faithfully (more or less) represent both the
images and (I presume) color bar.

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting
Phone: 970-221-0438 E-Mail: davidf@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Hough Transform
Next Topic: write_ppm (newbie)

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

Current Time: Wed Oct 08 18:31:30 PDT 2025

Total time taken to generate the page: 0.00172 seconds