Login  Register

Analyze Particles: "the list is empty"

Posted by stefanomm on May 24, 2016; 6:09pm
URL: http://imagej.273.s1.nabble.com/Analyze-Particles-the-list-is-empty-tp5016514.html

Dear All,

within a macro I need to execute "Analyze Particles..." by using a
predefined size threshold (I call it "myDim") (command line =
run("Analyze Particles...", "size=myDim-Infinity display exclude include
add");). The macro analyzes an array of single images.

When the macro encounters an image with no particles having size > myDim
(and hence the Results table is empty), the macro stops and the window
appears "The list is empty". This happens even if I write a conditional
statement

if (nResults > 0) {
                     ... (statement)
}

I am using ImageJ 1.49v on a PC (Windows  7, Lenovo).

I thank all that can help.


Yours
Stefano

--

Dr. Stefano Morara
Neuroscience Institute - C.N.R.
c/o Dep. BIOMETRA, University of Milano
Via Vanvitelli 32
20129 Milano
ITALY


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