After having read on macros and batch processing, this is my resolution :
I can put all my files in the same folder, and run the "batch measure"
adding te set treshold into it:
macro "Batch Measure" {
dir = getDirectory("Choose a Directory ");
list = getFileList(dir);
if (getVersion>="1.40e")
setOption("display labels", true);
setBatchMode(true);
for (i=0; i<list.length; i++) {
path = dir+list[i];
showProgress(i, list.length);
if (!endsWith(path,"/")) open(path);
if (nImages>=1) {*setThreshold(25, 255)*;
run("Measure");
close();
}
}
}
no small victories in science.
--
Sent from:
http://imagej.1557.x6.nabble.com/--
ImageJ mailing list:
http://imagej.nih.gov/ij/list.html