IDL imaging command? [message #11047] |
Wed, 04 March 1998 00:00 |
Sushil K. Singh
Messages: 1 Registered: March 1998
|
Junior Member |
|
|
Hi,
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?
Thanks...
sush.
------------------------------------------------------------ -----------
| Sushil Kumar Singh | Graduate Research Asst. |
| Computer Science | DIAL (Imaging Project) |
| Email : sks2@ra.msstate.edu | URL : http://www2.msstate.edu/~sks2 |
------------------------------------------------------------ -----------
|
|
|