nanimresize
版本 1.0.0.0 (5.8 MB) 作者:
Chad Greene
Use the imresize function without losing data at NaN boundaries.
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 (2024). nanimresize (https://www.mathworks.com/matlabcentral/fileexchange/56518-nanimresize), MATLAB Central File Exchange. 检索来源 .
MATLAB 版本兼容性
创建方式
R2012b
兼容任何版本
平台兼容性
Windows macOS Linux类别
- MATLAB > Language Fundamentals > Data Types > Numeric Types > NaNs >
在 Help Center 和 MATLAB Answers 中查找有关 NaNs 的更多信息
标签
致谢
参考作品: inpaint_nans
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!nanimresize/
nanimresize/html/
版本 | 已发布 | 发行说明 | |
---|---|---|---|
1.0.0.0 |