Re: BinaryReconstruct.
Posted by Gabriel Landini on
URL: http://imagej.273.s1.nabble.com/BinaryReconstruct-tp3699659p3699662.html
On Thursday 26 April 2007 15:15:50 Simon Roussel wrote:
> BinaryReconstruct plugins (thanks to G Landini) works for 8-connected
> particles. Is there an equivalent (or a simple way to implement as a macro)
> for 4-connected particles.
Hi Simon,
Not sure if this will help, but try changing
BinaryReconstruct_.java, line 172 from:
ff.fill8(x, y);
to :
ff.fill(x, y);
This would do 4-connected filling, but not sure whether it would do the trick.
It may be quicker if you test this and let me know if you get what you expect.
I am not sure about BinaryFilterReconstruct, because that plugins also uses
dilation and erosion. I'll have to check this.
Just curious, why do you prefer 4-connectivity?
Regards,
Gabriel