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 #24892 is a reply to message #24891] Sun, 29 April 2001 17:09 Go to previous messageGo to previous message
Alok Nagdev is currently offline  Alok Nagdev
Messages: 11
Registered: April 2001
Junior Member
<!doctype html public "-//w3c//dtd html 4.0 transitional//en">
<html>
<font color="#3333FF">Thanks David, but I'm still having the same problem...probably
I couldnt phrase the problem properly. Here it is again:</font><font color="#3333FF"></font>
<p><font color="#3333FF">I'm displaying some bytescaled elevation data
using color table (in my case its RAINBOW with top WHITE) below this I'm
trying to display true color jpeg images on the same window. As soon as
the color table is loaded the color images are displayed according to the
color table being used, and loose their true color.</font><font color="#3333FF"></font>
<p><font color="#3333FF">I found that this is due to the color table as
if I dont load the color table, images are displayed perfectly fine.</font><font color="#3333FF"></font>
<p><font color="#3333FF">Hope this time I phrased it correctly!!</font><font color="#3333FF"></font>
<p><font color="#3333FF">Thanks,</font>
<br><font color="#3333FF">-Alok</font>
<br>&nbsp;
<p>David Fanning wrote:
<blockquote TYPE=CITE>&nbsp;
<br>Well, now that I read this a little more closely,
<br>I think the problem is that you are trying to
<br>display these images on an 8-bit display. This
<br>makes the problem more difficult, but not
<br>impossible.
<p>What you need to do is make all your images and your
<br>color bar share the same color space. I think the
<br>sensible way to do this is to use COLOR_QUAN with
<br>the CUBE keyword set to 6 on all your image. This
<br>will quantitize your colors to 216 values that
<br>can faithfully (more or less) represent both the
<br>images and (I presume) color bar.
<p>Cheers,
<p>David
<br>--
<br>David Fanning, Ph.D.
<br>Fanning Software Consulting
<br>Phone: 970-221-0438 E-Mail: davidf@dfanning.com
<br>Coyote's Guide to IDL Programming: <a href="http://www.dfanning.com/">http://www.dfanning.com/</a>
<br>Toll-Free IDL Book Orders: 1-888-461-0155</blockquote>
</html>
[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: Thu Oct 09 23:39:27 PDT 2025

Total time taken to generate the page: 0.63859 seconds