有哪些好的 3D 插值库? [英] What are some good libraries for 3D interpolation?
问题描述
有哪些用于(快速)3D 插值的好库?最好在 C++ 中,但我也对其他人感兴趣.(尤其是 Matlab)
What are some good libraries for doing (fast) 3D interpolation? Preferably in C++, but I'm intrested in others, too. (Especially Matlab)
推荐答案
在 Matlab 中,3D 插值由 INTERP3.为了获得一些速度增益,请在您的方法参数前加上星号(例如 '*cubic'
而不是 'cubic'
).为了获得更多的速度增益,您可以将插值代码从函数中取出并跳过所有错误检查.
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.
一个好的 C++ 实现可能会更快,例如介绍的那个 此处在 Matlab 文件交换中(从未测试过).
A good C++ implementation is likely to be faster, such as the one presented here on the Matlab File exchange (never tested it).
这篇关于有哪些好的 3D 插值库?的文章就介绍到这了,希望我们推荐的答案对大家有所帮助,也希望大家多多支持IT屋!