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.
>