psi_tps.m
来自「一个薄板样条模型(thin plate spline)matlab源代码」· M 代码 · 共 17 行
M
17 行
function [tps] = psi_tps(u, a, w, opts)
% function [tps] = psi_tps(u, a, w, opts)
%
% This function is the approximate warping function given by the thin plate
% spline method.
%
% Input Params:
% u - the set of points you wish to warp
% a, w - the parameters from pts2TPS_param
% opts - the set of points that you are warping to
%
% Output Params:
% tps - a Mx2 matrix of points defined by the warping function.
%
% Dr. A. I. Hanna (2006).
tps = [ones(size(u,1),1), u]*a + U_rbs(matdistance(u', opts'))*w;
⌨️ 快捷键说明
复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?