Login  Register

save results

Posted by Paul Batty on Nov 20, 2006; 12:41pm
URL: http://imagej.273.s1.nabble.com/save-results-tp3700980.html

G'day folks

I am new to image and would like to save results genrated from a macro I have written without having to do each one manually? I am trying to determine the area of a burrow structure, my macro goes as follows:

run("Set Measurements...", "area redirect=None decimal=3");
open("G:\\t-SPI COBO\\S1_cropped_tiffs\\processed images\\I_6.tif");
run("Set Scale...", "distance=16 known=1 pixel=1 unit=mm global");
run("8-bit");
run("Threshold");
run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00 show=Masks summarize");
saveAs("Text", "G:\\t-SPI COBO\\S1_cropped_tiffs\\results\\Summary of I_6.txt");
close();
close();


Thanks in advance

Paul.