macro for making movies from many folders

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
2 messages Options
Reply | Threaded
Open this post in threaded view
|

macro for making movies from many folders

Jeff Spector
Hi all,
 My camera outputs image sequences (i.e. a series of 1000 or so frames).
I then take them into IJ and create .avis out of them for further
analysis. I've got about 50 folders, each with a 1000 frame sequence in
it. Each sequence is about 500MB in size, so IJ limits the number I can
make to 1 at a time. Is there an easy way to do something like "make an
separate .avi with the same name as the folder from which the image
sequences come from, for each folder in a dir ? " I can't seem to figure
it out. Currently I just do this by hand but it can take a long time to
do 50 of these, and a simple little macro would be nice. I'm not sure if
it matters, but I'm running IJ on windows so shell scripts wont work :(


thanks,
 -Jeff Spector
   Grad. Student.
   Purdue University
   Dept of Physics
Reply | Threaded
Open this post in threaded view
|

Re: macro for making movies from many folders

Justin McGrath
You can modify these macros
http://rsb.info.nih.gov/ij/macros/OpenSeriesUsingFilter.txt

So that instead of asking for a directory and using the files in that
directory, it instead asks for a directory, and then decends into each
subdirectory.

Justin

but modify the first one, so that instead of asking for a directory,
it uses the second macro to

On Nov 14, 2007 2:49 PM, Jeff Spector <[hidden email]> wrote:

> Hi all,
>  My camera outputs image sequences (i.e. a series of 1000 or so frames).
> I then take them into IJ and create .avis out of them for further
> analysis. I've got about 50 folders, each with a 1000 frame sequence in
> it. Each sequence is about 500MB in size, so IJ limits the number I can
> make to 1 at a time. Is there an easy way to do something like "make an
> separate .avi with the same name as the folder from which the image
> sequences come from, for each folder in a dir ? " I can't seem to figure
> it out. Currently I just do this by hand but it can take a long time to
> do 50 of these, and a simple little macro would be nice. I'm not sure if
> it matters, but I'm running IJ on windows so shell scripts wont work :(
>
>
> thanks,
>  -Jeff Spector
>    Grad. Student.
>    Purdue University
>    Dept of Physics
>