[SciPy-User] ndimage.zoom for array with nan values

zetah otrov at hush.ai
Sat May 25 18:47:07 EDT 2013


Found an answer that's acceptable for me: http://astrolitterbox.blogspot.com/2012/03/healing-holes-in-arrays-in-python.html

Code at the bottom of the post does inpainting magic to numpy arrays, just like inpainting does magic with images. My results:

1. original array imshow and healed array: http://i.imgur.com/dYS8Rn3.png

2. original contour and healed + zoomed 3x contour: http://i.imgur.com/V4upQ6w.png




More information about the SciPy-User mailing list