Hi,
I am trying to make a macro where I split the images in a stack and then
save and close them for batch processing. I use the batch processing part of
ImageJ and run a macro. So far I have the code below but the best I have
managed is to just get 2 of the 4 channels to save (BF, Gr, Rd, Bl).
run("Stack to Images");
{a = getTitle();
selectWindow(a);
saveAs("Tiff", a);
close();}
{b = getTitle();
selectWindow(b);
saveAs("Tiff", b);
close();}
{c = getTitle();
selectWindow(c);
saveAs("Tiff", c);
close();}
{d = getTitle();
selectWindow(d);
saveAs("Tiff", d);
close();}
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html