[Insight-users] Naively/smoothly interpolating a hole in a grayscale image

David Doria daviddoria at gmail.com
Tue Jul 5 19:48:39 EDT 2011


Consider a grayscale image with a hole (undefined pixels) in the
middle. ITK has some nearest-neighbor interpolation classes, and some
"better" interpolation classes (WindowedSincInterpolateImageFunction),
but all of these seem to rely on all of the information around a pixel
being known. Is there any filter that will fill a hole like that
reasonably? I guess something like an iterative "fill pixels who have
defined boundary pixels, then repeat now that there are new undefined
pixels near pixels determined in the previous step, repeat"? Or is
there a better way to do this in one step?

Thanks,

David


More information about the Insight-users mailing list