Re: Changing the Colour Table for RGB images on Linux/Solaris [message #38742 is a reply to message #38741] |
Fri, 26 March 2004 06:45   |
Antonio Santiago
Messages: 201 Registered: February 2004
|
Senior Member |
|
|
Maybe you forgot update your image with the new colors. As you see in
"color_example.pro" of the master Fanning, he cautch the event
"xcolors_load" and then does redraw the image.
Bye :)
Philip Kershaw wrote:
> Hello,
>
> 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?
>
> With thanks,
> Phil
> ____________________________________________
>
> Philip Kershaw
> Space Science & Technology Department
> Rutherford Appleton Laboratory
> UK
> ____________________________________________
>
>
>
>
|
|
|