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

Home » Public Forums » archive » Re: IDL imaging command?
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: IDL imaging command? [message #11038] Thu, 05 March 1998 00:00
davidf is currently offline  davidf
Messages: 2866
Registered: September 1996
Senior Member
Sushil K. Singh (sks2@Ra.MsState.Edu) writes:

> I am relatively new to IDL and have run into a question. The image
> file that I'm dealing with is not a standard GIF or TIFF, but an IMG file!
> With the help of IDL engineers, I finally got the image to load into IDL.
> Anyway, I'm using the following commands to separate the image into its
> three components after using the TV command to view it.
>
> R = TVRD(0,0,xSize,ySize, CHANNEL=1)
> G = TVRD(0,0,xSize,ySize, CHANNEL=2)
> B = TVRD(0,0,xSize,ySize, CHANNEL=3)
>
> xSize and ySize is the size of the image. Now, suppose that I want to take
> the three individual components R, G, and B and combine them to assemble
> the original image. Is there a specific command in IDL that I should look
> at to perform this? Any other suggestions?

I am not familiar with the IMG file format, but I presume
this is a 24-bit image format. If so, what do you mean by
"assemble" the original image? I presume you must have
had it "assembled" to display it with the TV command.

Can you give us some more details?

Cheers,

David

-----------------------------------------------------------
David Fanning, Ph.D.
Fanning Software Consulting
E-Mail: davidf@dfanning.com
Phone: 970-221-0438
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Previous Topic: Re: Calculating mean (was mean and sdev)
Next Topic: Re: NN IDL Freeware

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

Current Time: Sun Oct 12 14:36:09 PDT 2025

Total time taken to generate the page: 1.12136 seconds