3D Volume Interpolation with ba_interp3: Fast interp3 replacement

Version 1.0.0.0 (392 KB) von Brian
Faster Replacement for interp3
4,1K Downloads
Aktualisiert 9. Okt 2008

Keine Lizenz

ba_interp3 is a fast interpolation routine for 3D volumes. It can be used as a drop in replacement for matlabs interp3 function. It supports nearest neighbour, tri-linear, and tri-cubic interpolation.

Restrictions: The only restriction is, that the data has to be on a regularly spaced grid (i.e. coming from meshgrid.

Enhancements: The first advantage of ba_interp3 is that it is a lot faster.
ba_interp3 is up to 10 times faster than matlabs interp3 in realistic scenarios

Additionally, it can interpolate layered data. If you interpolate a matrix of size MxNxO x L1xL2x...xLk then each of the L1*L2*...*Lk layers is interpolated simultaneously. Think of this as in RGB images, where there would be a single additional dimension of size three.
An volume of 3x3 Matrices (i.e. the volume derivative) would have two additional dimensions of size three.

Zitieren als

Brian (2026). 3D Volume Interpolation with ba_interp3: Fast interp3 replacement (https://de.mathworks.com/matlabcentral/fileexchange/21702-3d-volume-interpolation-with-ba_interp3-fast-interp3-replacement), MATLAB Central File Exchange. Abgerufen.

Kompatibilität der MATLAB-Version
Erstellt mit R2008a
Kompatibel mit allen Versionen
Plattform-Kompatibilität
Windows macOS Linux
Kategorien
Mehr zu Interpolation finden Sie in Help Center und MATLAB Answers
Quellenangaben

Inspiriert von: Image Interpolation (ba_interp2)

Version Veröffentlicht Versionshinweise
1.1.0.0

Bugfix to Documentation

1.0.0.0