Login  Register

Re: Fill holes of circles on edge

Posted by Ferhat Buke on May 04, 2015; 10:43am
URL: http://imagej.273.s1.nabble.com/Fill-holes-of-circles-on-edge-tp5006118p5012701.html

  Hello Michael
 Your code works perfectly so thank you for sharing. Although if an area that needs to be filled is touching to the "bottom left" or "top right" corner of the image simultaneously, it escapes filling. A workarround is obviously adding 2 more Canvas expansions to include Top Right and Bottom Left as well but then it becomes too much work just to fill maximum two empty areas.

 Cheers & Thanks
 Ferhat