Using Batch process
Posted by Robberto Liguori on Mar 23, 2009; 3:17pm
URL: http://imagej.273.s1.nabble.com/Using-Batch-process-tp3693214.html
Halo,
I'm using a macro with imageJ to analyze a lot of images. With analyze particles it first apply a threshold on the image then a segmentation step. Unluckely, from the result that it returns isn't possible to see what is the name of the image where the functions were applied because the process was applied on the thresholded image. Someone can tell me if is there a method to get the name of the image in the result?
The macro is here :
function processFile(path) {
if (endsWith(path, ".tif")) {
open(path);
run("Nucleus Counter","smallest=10 largest=8000 threshold='Otsu' show");
close();
}
}