ION_IMAGE 8bit/24bit color [message #35334] |
Tue, 10 June 2003 15:48  |
ddye
Messages: 5 Registered: October 2002
|
Junior Member |
|
|
I don't use the z graphics buffer much but I've been dropped into the
deep end by my temp ION license. I have an image, 'picC'
picC=congrid(pic,3,400,400) ;where 3=[r,g,b]
normally, I would tv this image:
tv, picC, true=1
but this returns only a small portion of the lower right corner of the
image with a strange interference pattern. I consulted the
Fanning/Lumley/RSI documentation and found that the z buffer doesn't
accept truecolor so I'm pretty amazed that I got anything plotted at
all.
tv, picC[0,*,*]
gives me a nice pseudoColor of the first band and at the full size.
How can I get this image tv'd as and rgb?
|
|
|
Re: ION_IMAGE 8bit/24bit color [message #35439 is a reply to message #35334] |
Thu, 12 June 2003 11:01  |
David Fanning
Messages: 11724 Registered: August 2001
|
Senior Member |
|
|
Dan Dye writes:
> read_jpeg, fname, image24bit ;wedding day quality image
> image24bit = congrid(image24bit,3,400,400)
> loadct, 13
> image8bit=Color_Quan(image24bit,1,R,G,B,COLORS=255, cube=6)
> TVLCT, r, g, b
> TV, image8bit ;image after 25 years of marriage
Boy, you got that right! And the worst part of it
is, every morning when you pass by the thing in
the front hall you swear you are looking at a
picture of your parents. :-(
Cheers,
David
--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Phone: 970-221-0438, E-mail: david@dfanning.com
Coyote's Guide to IDL Programming: http://www.dfanning.com/
Toll-Free IDL Book Orders: 1-888-461-0155
|
|
|