nanimresize
Versione 1.0.0.0 (5,83 MB) da
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.
Cita come
Chad Greene (2024). nanimresize (https://www.mathworks.com/matlabcentral/fileexchange/56518-nanimresize), MATLAB Central File Exchange. Recuperato .
Compatibilità della release di MATLAB
Creato con
R2012b
Compatibile con qualsiasi release
Compatibilità della piattaforma
Windows macOS LinuxCategorie
- MATLAB > Language Fundamentals > Data Types > Numeric Types > NaNs >
Scopri di più su NaNs in Help Center e MATLAB Answers
Tag
Riconoscimenti
Ispirato da: inpaint_nans
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!Scopri Live Editor
Crea script con codice, output e testo formattato in un unico documento eseguibile.
nanimresize/
nanimresize/html/
Versione | Pubblicato | Note della release | |
---|---|---|---|
1.0.0.0 |