Changing the Colour Table for RGB images on Linux/Solaris [message #38745] |
Fri, 26 March 2004 06:22 |
Philip Kershaw
Messages: 5 Registered: March 2004
|
Junior Member |
|
|
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
____________________________________________
|
|
|