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

Home » Public Forums » archive » Re: Changing the Colour Table for RGB images on Linux/Solaris
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: Changing the Colour Table for RGB images on Linux/Solaris [message #38744 is a reply to message #38743] Fri, 26 March 2004 06:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Philip Kershaw writes:

> I'm developing a colour editor for use with an image display program for
> Linux and Sun Solaris. I've found that when I update the colour table for
> an RGB image, the image display isn't updated. However, when I run the same
> program under Windows 2000, the image IS updated as expected.
>
> I'm running IDL 6.0 set with
>
> Device, Decomposed=0
>
> The display is 24-bit in each case for Windows, Linux and Solaris platforms.
>
> When I alter the colour table I re-display the image using
>
> TV, image, True=3
>
> The image has dimensions (m, n, 3)
>
> As a test, I tried adapting one of Dave Fanning's programs (thank you for
> this!), "color_example.pro" to run loading the RGB image. Again, it works
> under Windows but not Linux or Solaris.
>
> Has anyone come across anything like this? Any ideas?

Well, maybe you are running in *Windows* with Device, Decomposed=0,
but I doubt you are doing the same on your UNIX machines. :-)

Take that Color_Example program and substitute TVIMAGE for every
TV. *Then* see what happens!

Cheers,

David

P.S. Let's just say, there are a number of image display programs
around that are device independent, but none from RSI. :-(

--
David Fanning, Ph.D.
Fanning Software Consulting
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: how to create an upgradeable txt or other file as output
Next Topic: not only google

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

Current Time: Sun Oct 12 09:58:48 PDT 2025

Total time taken to generate the page: 0.80361 seconds