问题
What are some good libraries for doing (fast) 3D interpolation? Preferably in C++, but I'm intrested in others, too. (Especially Matlab)
回答1:
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).
来源:https://stackoverflow.com/questions/7889772/what-are-some-good-libraries-for-3d-interpolation