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

Home » Public Forums » archive » reading in a series of images
Show: Today's Messages :: Show Polls :: Message Navigator
E-mail to friend 
Switch to threaded view of this topic Create a new topic Submit Reply
reading in a series of images [message #6666] Wed, 31 July 1996 00:00 Go to next message
shborges is currently offline  shborges
Messages: 2
Registered: July 1996
Junior Member
I would like to read in a series of images from a file folder. the
names of files would be serially incremented, like a01, a02 etc or
odd/even increments like a01, a03 etc

Is there an easy and efficient way to do this?

Thanks,

Salvador Borges
Re: reading in a series of images [message #6746 is a reply to message #6666] Thu, 01 August 1996 00:00 Go to previous message
Hugh Evans is currently offline  Hugh Evans
Messages: 9
Registered: July 1996
Junior Member
Salvador Borges wrote:
>
> I would like to read in a series of images from a file folder. the
> names of files would be serially incremented, like a01, a02 etc or
> odd/even increments like a01, a03 etc
>
> Is there an easy and efficient way to do this?


try:
files=findfile( 'a*')
for i=0,n_elements(files)-1 do begin
read_image,files,image
[...]
endfor


--
Hugh Evans Any opinions are mine, blame
hevans@wm.estec.esa.nl reality for any facts and the.
European Space Agency inexactitudes are intentional.
Noordwijk, The Netherlands

PGP key available on request.
  Switch to threaded view of this topic Create a new topic Submit Reply
Previous Topic: Re: changing colors
Next Topic: IDL for Solaris 2.5?

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

Current Time: Wed Oct 08 13:53:35 PDT 2025

Total time taken to generate the page: 0.00546 seconds