comp.lang.idl-pvwave archive - RDF feed
type: channel
description: Messages from Usenet group comp.lang.idl-pvwave, compiled by Paulo Penteado
items: Re: IDL imaging command?

Re: IDL imaging command?
type: item
description: 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/
creator: davidf
date: 1998-03-05T08:00:00-00:00