Login  Register

Re: Label particles by shape characteristics

Posted by William Lamar on Jul 18, 2005; 12:55am
URL: http://imagej.273.s1.nabble.com/Label-particles-by-shape-characteristics-tp3705249p3705251.html

Hi Gary;

I've used your shape descriptor plugin.  It's great.  What I want to  
do, however,  is label each particle by the particle's form factor.  
Wayne has a macro "Particle labeling example"   that labels each
particle by its area using the following commands:

   for (i=0; i<nResults; i++) {
       doWand(getResult("XStart",i), getResult("YStart", i));
       setColor(getResult("Area", i));
       fill();

  If  I could figure how to copy the column of form factor values from
the "Single Particle Values..." table generated by your plugin to the
Results table,  then I could just change the third line of Wayne's code
to "setColor(getResult("FormFactor", i))   but I'm having trouble
copying data from one table  to another.


Thanks   -  Rob