|
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();
}
}
|