什么是3D插值一些好的库? [英] What are some good libraries for 3D interpolation?
问题描述
什么是做(快)3D插补一些好的库? pferably在C ++ $ P $,但我intrested在别人了。 (特别是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 。对于一些速度增益,通过你的方法参数preceded用星号(如'*立方
而不是'立方'
)。对于一些更多的速度增益,你可以解除插值code OUT的功能,并跳过所有的错误检查。
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 ++实现可能会更快,比如一个presented <一href="http://www.mathworks.com/matlabcentral/fileexchange/21702-3d-volume-interpolation-with-bainterp3-fast-interp3-replacement"相对=nofollow>这里的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屋!