nanimresize
バージョン 1.0.0.0 (5.83 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 (2025). 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 |