how to use the ParticleAnalyzer class

Posted by Aryeh Weiss on
URL: http://imagej.273.s1.nabble.com/how-to-use-the-ParticleAnalyzer-class-tp5022373.html

Until now, I ave been using the ParticleAnalyer by running it from the
IJ.run method, and I want to start using it through its API.

I am embarrassed to say that I cannot figure out how to set it up - in
particular the options and measurements parameters. I looked for either
Java or Python examples, which I thought I saw in the past, and I cannot
find them.

Can someone who knows how to do this send to me some code snippets in
which options and measurements are set and then the PA is run?

I d not know why i am having so much trouble with this, but I cannot
seem to get my head around how to use the parameters in ij.measure, 
what goes into options and what goes into measurements in a constructor like

|ParticleAnalyzer
<https://imagej.nih.gov/ij/developer/api/ij/plugin/filter/ParticleAnalyzer.html#ParticleAnalyzer-int-int-ij.measure.ResultsTable-double-double->(int options,
int measurements, ResultsTable
<https://imagej.nih.gov/ij/developer/api/ij/measure/ResultsTable.html> rt,
double minSize, double maxSize)|

|Thanks in advance|

|--aryeh
|

--
Aryeh Weiss
Faculty of Engineering
Bar Ilan University
Ramat Gan 52900 Israel

Ph:  972-3-5317638
FAX: 972-3-7384051


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