Hi
I am trying to run Analyze particle to count neuronal soma from images like these
I am able to run this macro using the Batch mode but I am not able to keep the data (summaries) that pops up.
This is my macro
requires("1.33k");
run("Set Measurements...", "area mean standard modal shape limit display redirect=None decimal=3");
title= getTitle();
run("RGB Split");
b= title+" (blue)"; r= title+" (red)"; g= title+" (green)";
selectImage(g);
run("Close");
selectWindow(r);
run("Close");
selectImage(b);
rename("soma");
run("Duplicate...", "title=somacopy");
selectWindow("soma");
rename("Close");
selectWindow("somacopy");
run("Subtract Background...", "rolling=40");
// flatten illumination
run("Gaussian Blur...", "radius=5");
// prep for watershedding
//setAutoThreshold();
setThreshold(49, 255);
run("Threshold", "thresholded remaining black");
run("Watershed");
selectWindow("somacopy");
run("Analyze Particles...", "size=0-Infinity circularity=0.00-1.00 show=Nothing summarize")
Any help is greatly appreciated