nanimresize

Use the imresize function without losing data at NaN boundaries.

Vous suivez désormais cette soumission

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 .

Remerciements

Inspiré par : inpaint_nans

Informations générales

Compatibilité avec les versions de MATLAB

  • Compatible avec toutes les versions

Plateformes compatibles

  • Windows
  • macOS
  • Linux
Version Publié le Notes de version Action
1.0.0.0