Login  Register

problem with summary and results windows : "slice" and "label" not appear

Posted by OBEID Patricia 154904 on Oct 25, 2018; 11:46am
URL: http://imagej.273.s1.nabble.com/problem-with-summary-and-results-windows-slice-and-label-not-appear-tp5021348.html

Dear all,
Since few days, the column < slice > from window < Summary > and < label > from window < Results > stay empty.
I use macros that I run regularly and that did not pose a problem
Today these columns remain empty.
I am using version 1.52h
Here is my macro:

dir = getDirectory("Choose a Directory ");
dir2 = getDirectory("Choose Destination Directory ");

list = getFileList(dir);
setBatchMode(true);
for (i=0; i<list.length; i++) {
                if (endsWith(list[i], "d0.C01")){
                path = dir+list[i];
                open(path);
                                               run("Duplicate...", "title=[] use");
                                               run("Set Scale...", "distance=0 known=0 pixel=1 unit=pixel");
                                               run("Set Measurements...", "area mean standard min display redirect=None decimal=2");
                                               setAutoThreshold("Li dark");
                                               run("Convert to Mask");
                                               run("Analyze Particles...", "size=20-200 pixel circularity=0.00-1.00 show=Nothing display summarize add");

run("Close All");
if (roiManager("count")>0) roiManager("reset");

}
                               }

                selectWindow("Summary");
                saveAs("Text",dir2+"Comptage.xls");
                run("Close");
........................................................................................................................
I can not identify where the problem is.
Thank you for your help
Patricia


--
ImageJ mailing list: http://imagej.nih.gov/ij/list.html