Login  Register

Import array of images as ImageSequence?

Posted by Adam Cliffe on Oct 20, 2009; 9:54am
URL: http://imagej.273.s1.nabble.com/Import-array-of-images-as-ImageSequence-tp3690686.html

I'm trying to write a macro which opens some of the images in a folder
as an image sequence.
i.e. the files are named
Job1_t0_ch000.tif,
Job1_t0_ch001.tif,
Job1_t1_ch000.tif,
Job1_t1_ch001.tif,
Job2_t0_ch000.tif,
Job2_t0_ch001.tif,
Job2_t1_ch000.tif,
Job2_t1_ch001.tif,
etc...

I would like the macro to open all the images with Job1 and ch001 in
the title.
I can't work out a way of imputing both of these parameters into the
'Import image sequence' dialog.

Its easy to make an array of the files I'd like to open (startsWith
Job1, endsWith "ch001.tif")
but I can't work out how to open all these files as one tif stack (in
my case there would be several hundred).

Does anyone know a way of doing this?

Thanks

Adam



Dr Adam Cliffe
Research Scientist, Rorth Lab

Institute of Molecular and Cell Biology
61 Biopolis Drive
Proteos
Singapore 138673

tel: +65 6586 9731









Note: This message may contain confidential information. If this Email/Fax has been sent to you by mistake, please notify the sender and delete it immediately. Thank you.