nanimresize
Version 1.0.0.0 (5,83 MB) von
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.
Zitieren als
Chad Greene (2026). nanimresize (https://de.mathworks.com/matlabcentral/fileexchange/56518-nanimresize), MATLAB Central File Exchange. Abgerufen.
Kompatibilität der MATLAB-Version
Erstellt mit
R2012b
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS LinuxKategorien
- MATLAB > Language Fundamentals > Data Types > Numeric Types > NaNs >
Mehr zu NaNs finden Sie in Help Center und MATLAB Answers
Tags
Quellenangaben
Inspiriert von: inpaint_nans
Live Editor erkunden
Erstellen Sie Skripte mit Code, Ausgabe und formatiertem Text in einem einzigen ausführbaren Dokument.
nanimresize/
nanimresize/html/
| Version | Veröffentlicht | Versionshinweise | |
|---|---|---|---|
| 1.0.0.0 |
