nanimresize
Version 1.0.0.0 (5,83 Mo) par
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.
Citation pour cette source
Chad Greene (2026). nanimresize (https://fr.mathworks.com/matlabcentral/fileexchange/56518-nanimresize), MATLAB Central File Exchange. Extrait(e) le .
Compatibilité avec les versions de MATLAB
Créé avec
R2012b
Compatible avec toutes les versions
Plateformes compatibles
Windows macOS LinuxCatégories
- MATLAB > Language Fundamentals > Data Types > Numeric Types > NaNs >
En savoir plus sur NaNs dans Help Center et MATLAB Answers
Tags
Remerciements
Inspiré par : inpaint_nans
Découvrir Live Editor
Créez des scripts avec du code, des résultats et du texte formaté dans un même document exécutable.
nanimresize/
nanimresize/html/
| Version | Publié le | Notes de version | |
|---|---|---|---|
| 1.0.0.0 |
