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

Home » Public Forums » archive » Creating an image as a sum of images
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: Creating an image as a sum of images [message #42444 is a reply to message #42301] Thu, 03 February 2005 12:59 Go to previous message
David Fanning is currently offline  David Fanning
Messages: 11724
Registered: August 2001
Senior Member
FSD writes:

> Hey, thanks for the input. It sorta works but how do I read in eight
> files and write them back out again with the window? I have several
> thousand files and I need to run it seemslessly in the background.

Well, clearly you are going to have to do it in a loop. :-)

You can gather all the files in a directory with File_Search,
figure out how many there are (keyword to File_Search), and
loop through them 8 at a time.

I would display them differently though. I would display
8 files like this:

!P.Multi=[0,4,2]
LoadCT, 0, /Silent
Device, Decomposed=0
Erase, Color=255
FOR j=0,7 DO BEGIN
; read the image file and get the image on this line
TVImage, image
ENDFOR
!P.Multi = 0

Cheers,

David
--
David Fanning, Ph.D.
Fanning Software Consulting, Inc.
Coyote's Guide to IDL Programming: http://www.dfanning.com/
[Message index]
 
Read Message
Read Message
Read Message
Read Message
Read Message
Previous Topic: Re: Creating an image as a sum of images
Next Topic: Object Graphics plot problem

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

Current Time: Sat Oct 11 03:40:18 PDT 2025

Total time taken to generate the page: 1.20432 seconds