【文件属性】:
文件名称:薄板样条matlab代码-ThinPlateSplines:c和Matlab中的n维薄板样条
文件大小:24KB
文件格式:ZIP
更新时间:2021-05-27 00:39:37
系统开源
薄板样条matlab代码ThinPlateSpline
c和matlab中的n维薄板样条线。
目前,这将计算完整的插值内核;
它并不稀疏,更新内核可能会很昂贵。
但是,对于许多应用程序而言,内核只需要计算一次,然后就可以重用多次。
这就是这里使用的方法。
例子
在Matlab中
t=ThinPlateSpline;
[yy,xx]=meshgrid(linspace(
1
,
512
,
5
),linspace(
1
,
512
,
5
));
t.SourceSpaceKnots=[xx(:)
yy(:)];
%
leads
to
kernel
computation
[yy,xx]=meshgrid(
1
:
512
,
1
:
512
);
t.SourceSpaceQuery=[xx(:)
yy(:)];
%
leads
to
kernel
computation
%
might
repeat
this
many
times
t.DestSpaceKnots=perturb(s);
%
a
fast
update
r=map(t);
在C中
#
include
"
tps.h
【文件预览】:
ThinPlateSplines-master
----cmake()
--------eigen-config.cmake(676B)
----test()
--------main.c(3KB)
--------CMakeLists.txt(156B)
----matlab()
--------tpstest.m(918B)
--------cmake()
--------@ThinPlateSpline()
--------.DS_Store(6KB)
--------src()
--------CMakeLists.txt(824B)
----src()
--------tps.cc(6KB)
--------tps.h(3KB)
--------tictoc.h(519B)
--------tictoc.c(4KB)
----CMakeLists.txt(464B)
----README.md(3KB)