image_naninterp¶
- sofia_redux.toolkit.image.fill.image_naninterp(data)[source]¶
Fills in NaN values in an image
Uses the Clough-Tocher scheme to construct a piecewise cubic interpolating Bexier polynomial on Delaunay triangulation.
- Parameters:
- datanumpy.ndarray (nrow, ncol)
image array with missing data represented by NaNs
- Returns:
- numpy.ndarray
output image