使用非NaN数据对二维数组中的NaN元素进行插值。
Interpolate NaN elements in a 2-d array using non-NaN elements.
也可以进行外推,因为该函数不使用数据的三角测量。
Can also extrapolate, as it does not use a triangulation of the data.
Inpaint_nans提供了几种不同的插值方法,这些方法在精度、速度以及所需内存方面进行折中平衡。
Inpaint_nans offers several different approaches to the interpolation, which give tradeoffs in accuracy versus speed and memory required.
inpaint_nans中使用的所有方法都基于稀疏线性代数和PDE离散化。
All the methods currently found in inpaint_nans are based on sparse linear algebra and PDE discretizations.
从本质上讲,PDE是为了与所提供的信息保持一致而实现的解决方案。
In essence, a PDE is solved to be consistent with the information supplied.
源码下载地址:
http://page2.dfpan.com/fs/4ldc2je29231f209166/
更多精彩文章请关注微信号: