reading in a series of images [message #6666] |
Wed, 31 July 1996 00:00  |
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  |
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.
|
|
|