The Image Processing Toolbox offers a great function called imresize, which conveniently rescales gridded datasets and automatically applies antialiasing. However, because imresize interpolates data, imresize output tends to lose data near NaN boundaries. This function uses John D'Errico's inpaint_nans function before applying imresize, then re-masks NaN output.
引用格式
Chad Greene (2026). nanimresize (https://ww2.mathworks.cn/matlabcentral/fileexchange/56518-nanimresize), MATLAB Central File Exchange. 检索时间: .
致谢
参考作品: inpaint_nans
| 版本 | 已发布 | 发行说明 | Action |
|---|---|---|---|
| 1.0.0.0 |
