0

What are some good libraries for doing (fast) 3D interpolation? Preferably in C++, but I'm intrested in others, too. (Especially Matlab)

Marek Miettinen
  • 399
  • 1
  • 7
  • 18

1 Answers1

3

In Matlab, 3D interpolation is performed by INTERP3. For some speed gain, pass your method argument preceded by a star (e.g. '*cubic' instead of 'cubic'). For some more speed gain, you can just lift the interpolation code out of the function and skip all the error checking.

A good C++ implementation is likely to be faster, such as the one presented here on the Matlab File exchange (never tested it).

Jonas
  • 74,690
  • 10
  • 137
  • 177