Login  Register

Fill holes of circles on edge

Posted by jmcginnity on Jan 14, 2014; 3:43pm
URL: http://imagej.273.s1.nabble.com/Fill-holes-of-circles-on-edge-tp5006118.html

Hi,
I wish to fill circles that intersect the edge of the image.  I've tried Fill Holes but this only fills holes that are completely bounded.  Is there a macro that enables a hole to be filled where one of its edges is the edge of the window?  Please see the image below which shows some doughnut shapes on the edges that I would like to fill.
Image showing unfilled holes on edges

Thanks,

Justin