The Insight Journal logo
Home

Small Hole Filling in ITK

Doria, David
Rensselaer Polytechnic Institute
Publication cover image

Please use this identifier to cite or link to this publication: http://hdl.handle.net/10380/3312
New: Prefer using the following doi: https://doi.org/10.54294/fvjxho
Published in The Insight Journal - 2011 July-December.
Submitted by David Doria on 2011-08-24 15:09:28.

This code provides an implementation of a simple technique to fill small holes in an image. We use a multi-pass method that fills pixels on the border of a hole with the average of its non-hole 8-connected neighbors. This process is repeated until all holes are filled. The code is available here: https://github.com/daviddoria/SmallHoleFiller