Login  Register

can I batch process all the opened images

Previous Topic Next Topic
 
classic Classic list List threaded Threaded
3 messages Options Options
Embed post
Permalink
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

can I batch process all the opened images

Xulong Wang
5 posts
Looking for a way to batch process all the opened images (not saved in a
folder) by the same command, z-projection.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: can I batch process all the opened images

chenyanpei
30 posts
Nice to meet you. you can use JAVA in the eclipse. and see other persons program.
Reply | Threaded
Open this post in threaded view
| More
Print post
Permalink

Re: can I batch process all the opened images

jmutterer
142 posts
In reply to this post by Xulong Wang
Hi,

you need to first get all opened images IDs, then process each image, like
this :

// get image IDs of all open images
ids=newArray(nImages);
for (i=0;i<nImages;i++) {
selectImage(i+1);
ids[i]=getImageID;
}

// process all open images
for (i=0;i<ids.length;i++) {
selectImage(ids[i]);
run("Z Project...", "projection=[Average Intensity]");
}


jerome.


On Tue, Feb 23, 2010 at 8:07 PM, Xulong Wang <[hidden email]> wrote:

> Looking for a way to batch process all the opened images (not saved in a
> folder) by the same command, z-projection.
>