Login  Register

Re: filling particle color selectively based on size

Posted by Guy Stysis on May 10, 2019; 7:21pm
URL: http://imagej.273.s1.nabble.com/Re-filling-particle-color-selectively-based-on-size-tp5022173.html

Hey everyone!

I was exploring the BioVoxxel Toolbox, and wanted to create the Shape Descriptor Maps in Java form. Essentially, I am trying to selectively grey-scale color particles depending on their ferret diameter value, but I am running into some trouble:

For each particle in Blobs(25k), I am looping the following:

  1.   Use doWand(X,Y) to get particle selection
  2.  setForegroundcolor(value)
  3.  However, I am unable to properly use ip.fill() as it keeps giving me rectangular fill instead of just the particle interiors.

PS: in the GUI form of ImageJ, doing the above worked perfectly...

Thank you for your help!
Guy

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