⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 psi_tps.m

📁 一个薄板样条模型(thin plate spline)matlab源代码
💻 M
字号:
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 + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -