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

Home » Public Forums » archive » Re: What don't I know about jpeg, 3 channels, and color display?
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: What don't I know about jpeg, 3 channels, and color display? [message #40977] Sun, 19 September 2004 23:42 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
Dee writes:

> I'm trying to read jpeg images (with read_jpeg) that have three
> channels, and I can't work out how to display them in color once I've
> opened them because they are 3D arrays, say (3,1200,1600). How can
> they be converted to something 2D that you can look at? I believe this
> is fairly simple to those of you who understand color.... something to
> do with true color??

I'd try something like this:

IDL> TV, image, True=1

Cheers,

David

--
David W. Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http:/www.dfanning.com/
Phone: 970-221-0438, IDL Book Orders: 1-888-461-0155
[Message index]
 
Read Message
Read Message
Previous Topic: Re: widget IDs ever zero?
Next Topic: overlapping images

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

Current Time: Sun Oct 12 06:23:56 PDT 2025

Total time taken to generate the page: 0.64288 seconds