tps_pts_warp.m

来自「matlab aamtool box」· M 代码 · 共 22 行

M
22
字号
function [wpts] = TPS_pts_warp(pts, ipts, opts, verbose)
% function [wpts] = TPS_pts_warp(pts, ipts, opts)
%
% This function implements the THIN PLATE SPLINE method of point warping.
% 
% Input Params:
%  pts - the set of points to be warped
%  ipts - the set of input pts that the image is to be warped to
%  opts - the set of input pts that the image is already registered to
%
% Dr. A. I. Hanna (2006).
w = [];
a = [];
if nargin<3
    return;
end
if nargin < 4
    verbose = 0;
end
[w, a, K] = pts2TPS_param(opts, ipts);
wpts = psi_tps(pts, a, w, ipts);
return;

⌨️ 快捷键说明

复制代码Ctrl + C
搜索代码Ctrl + F
全屏模式F11
增大字号Ctrl + =
减小字号Ctrl + -
显示快捷键?