Re: HELP - Changing color map in Mac IDl [message #20182 is a reply to message #20179] |
Tue, 23 May 2000 00:00  |
davidf
Messages: 2866 Registered: September 1996
|
Senior Member |
|
|
Mark Elliott (mark@mail.mmrrcc.upenn.edu) writes:
> I am running IDL 5.3 on a G4 Mac. I'm using 8-bit pseudo-color.
> When I change the LUT (like with loadct) the images in the graphics
> windows do not change their appearance unless I redraw them. This
> makes routines like xloadct practically useless for optimizing the
> color map levels.
>
> Is there a preference of some sort that will fix this?
What makes you think you are using 8-bit pseudo-color?
I would be willing to bet quite a lot of money your
graphics card doesn't think you are using 8-bit pseudo-color.
In fact, I'm convinced your graphics card thinks you are
using "thousands" or "millions" of colors. :-) Use your
Monitor Control Panel to select 256 color mode (or whatever
it's called there). Then re-start IDL.
Or, you could use a program like XWindow on my web page
to display your image and use the color changing tool from
that program. Those colors will update your image even on
a 16-bit or 24-bit display:
XWindow, 'TV', image, /XColors
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
|
|
|