FloodFill 32-bit
Posted by Simon Roussel on May 21, 2008; 10:48am
URL: http://imagej.273.s1.nabble.com/FloodFill-32-bit-tp3696162.html
Dear All,
I have particles (as white=255) with holes NOT included and some particles
inside others, and a Result table.
I want to label particles (fill the whole particle with a value) with some
measure, for example Circularity.
I first convert my image of particles to 32-bit.
I would then like to floodFill each particle with its circularity ( a real
number). My problem is that setForegroundColor(r, g, b) cannot be set to a
real value. This does not seem to be the right solution.
I can also divide my particles by 255 (then particles=1, background =0),
select each particle with doWand, and multiply it by its Circularity. But
then particles inside my particle are also multiplied.
Any idea of how I could solve this problem ?
Thanks in advance,
Simon