HOME

TheInfoList



OR:

Thin plate splines (TPS) are a spline-based technique for data
interpolation In the mathematical field of numerical analysis, interpolation is a type of estimation, a method of constructing (finding) new data points based on the range of a discrete set of known data points. In engineering and science, one often has a n ...
and
smoothing In statistics and image processing, to smooth a data set is to create an approximating function (mathematics), function that attempts to capture important patterns in the data, while leaving out noise or other fine-scale structures/rapid phenomena ...
. They were introduced to geometric design by Duchon. They are an important special case of a
polyharmonic spline In applied mathematics, polyharmonic splines are used for function approximation and data interpolation. They are very useful for interpolating and fitting scattered data in many dimensions. Special cases include thin plate splines and natural cu ...
. Robust Point Matching (RPM) is a common extension and shortly known as the TPS-RPM algorithm.


Physical analogy

The name ''thin plate spline'' refers to a physical analogy involving the bending of a thin sheet of metal. Just as the metal has rigidity, the TPS fit resists bending also, implying a penalty involving the smoothness of the fitted surface. In the physical setting, the deflection is in the z direction, orthogonal to the plane. In order to apply this idea to the problem of coordinate transformation, one interprets the lifting of the plate as a displacement of the x or y coordinates within the plane. In 2D cases, given a set of K corresponding points, the TPS warp is described by 2(K+3) parameters which include 6 global affine motion parameters and 2K coefficients for correspondences of the control points. These parameters are computed by solving a linear system, in other words, TPS has a
closed-form solution In mathematics, a closed-form expression is a mathematical expression that uses a finite number of standard operations. It may contain constants, variables, certain well-known operations (e.g., + − × ÷), and functions (e.g., ''n''th roo ...
.


Smoothness measure

The TPS arises from consideration of the integral of the square of the second derivative—this forms its smoothness measure. In the case where x is two dimensional, for interpolation, the TPS fits a mapping function f(x) between corresponding point-sets \ and \ that minimizes the following energy function: : E_(f) = \sum_^K \, y_i - f(x_i) \, ^2 The smoothing variant, correspondingly, uses a tuning parameter \lambda to control the rigidity of the deformation, balancing the aforementioned criterion with the measure of goodness of fit, thus minimizing: : E_(f) = \sum_^K \, y_i - f(x_i) \, ^2 + \lambda \iint\left left(\frac\right)^2 + 2\left(\frac\right)^2 + \left(\frac\right)^2 \right\textrm x_1 \, \textrmx_2 For this variational problem, it can be shown that there exists a unique minimizer f . The
finite element The finite element method (FEM) is a popular method for numerically solving differential equations arising in engineering and mathematical modeling. Typical problem areas of interest include the traditional fields of structural analysis, heat t ...
discretization of this variational problem, the method of
elastic map Elastic maps provide a tool for nonlinear dimensionality reduction. By their construction, they are a system of elastic springs embedded in the data space. This system approximates a low-dimensional manifold. The elastic coefficients of this s ...
s, is used for data mining and
nonlinear dimensionality reduction Nonlinear dimensionality reduction, also known as manifold learning, refers to various related techniques that aim to project high-dimensional data onto lower-dimensional latent manifolds, with the goal of either visualizing the data in the low-d ...
.


Radial basis function

The thin plate spline has a natural representation in terms of radial basis functions. Given a set of control points \, a radial basis function defines a spatial mapping which maps any location x in space to a new location f(x), represented by : f(x) = \sum_^K w_\varphi(\left\, x - c_\right\, ) where \left\, \cdot\right\, denotes the usual
Euclidean norm Euclidean space is the fundamental space of geometry, intended to represent physical space. Originally, that is, in Euclid's ''Elements'', it was the three-dimensional space of Euclidean geometry, but in modern mathematics there are Euclidean s ...
and \ is a set of mapping coefficients. The TPS corresponds to the radial basis kernel \varphi(r) = r^2 \log r.


Spline

Suppose the points are in 2 dimensions (D = 2). One can use ''homogeneous coordinates'' for the point-set where a point y_ is represented as a vector (1, y_, y_). The unique minimizer f is parameterized by \alpha which consists of two matrices d and c (\alpha = \). : f_(z, \alpha) = f_(z, d, c) = z\cdot d + \phi(z) \cdot c = z\cdot d + \sum_^K \phi_i(z) c_i where d is a (D+1)\times(D+1) matrix representing the affine transformation (hence z is a 1\times (D+1) vector) and c is a K\times (D+1) warping coefficient matrix representing the non-affine deformation. The kernel function \phi(z) is a 1\times K vector for each point z, where each entry \phi_i(z) = \, z - x_i\, ^2 \log \, z - x_i\, . Note that for TPS, the control points \ are chosen to be the same as the set of points to be warped \, so we already use \ in the place of the control points. If one substitutes the solution for f, E_ becomes: : E_(d,c) = \, Y - Xd - \Phi c\, ^2 + \lambda c^T\Phi c where Y and X are just concatenated versions of the point coordinates y_i and x_i, and \Phi is a (K\times K) matrix formed from the \phi (\, x_i - x_j\, ). Each row of each newly formed matrix comes from one of the original vectors. The matrix \Phi represents the TPS kernel. Loosely speaking, the TPS kernel contains the information about the point-set's internal structural relationships. When it is combined with the warping coefficients c, a non-rigid warping is generated. A nice property of the TPS is that it can always be decomposed into a global affine and a local non-affine component. Consequently, the TPS smoothness term is solely dependent on the non-affine components. This is a desirable property, especially when compared to other splines, since the global pose parameters included in the affine transformation are not penalized.


Applications

TPS has been widely used as the non-rigid transformation model in image alignment and shape matching. An additional application is the analysis and comparisons of archaeological findings in 3D and was implemented for triangular meshes in the
GigaMesh Software Framework The GigaMesh Software Framework is a free and open-source software for display, editing and visualization of 3D-data typically acquired with structured light or structure from motion. It provides numerous functions for analysis of archaeologic ...
. The thin plate spline has a number of properties which have contributed to its popularity: #It produces smooth surfaces, which are infinitely differentiable. #There are no free parameters that need manual tuning. #It has closed-form solutions for both warping and parameter estimation. #There is a physical explanation for its energy function. However, note that splines already in one dimension can cause severe "overshoots". In 2D such effects can be much more critical, because TPS are not objective.


See also

*
Elastic map Elastic maps provide a tool for nonlinear dimensionality reduction. By their construction, they are a system of elastic springs embedded in the data space. This system approximates a low-dimensional manifold. The elastic coefficients of this s ...
(a discrete version of the thin plate approximation for
manifold learning Nonlinear dimensionality reduction, also known as manifold learning, refers to various related techniques that aim to project high-dimensional data onto lower-dimensional latent manifolds, with the goal of either visualizing the data in the low- ...
) *
Inverse distance weighting Inverse distance weighting (IDW) is a type of deterministic method for multivariate interpolation with a known scattered set of points. The assigned values to unknown points are calculated with a weighted average of the values available at the kn ...
*
Polyharmonic spline In applied mathematics, polyharmonic splines are used for function approximation and data interpolation. They are very useful for interpolating and fitting scattered data in many dimensions. Special cases include thin plate splines and natural cu ...
(the thin plate spline is a special case of a polyharmonic spline) *
Radial basis function A radial basis function (RBF) is a real-valued function \varphi whose value depends only on the distance between the input and some fixed point, either the origin, so that \varphi(\mathbf) = \hat\varphi(\left\, \mathbf\right\, ), or some other fixed ...
*
Smoothing spline Smoothing splines are function estimates, \hat f(x), obtained from a set of noisy observations y_i of the target f(x_i), in order to balance a measure of goodness of fit of \hat f(x_i) to y_i with a derivative based measure of the smoothness of \ ...
* Spline *
Subdivision surface In the field of 3D computer graphics, a subdivision surface (commonly shortened to SubD surface) is a curved surface represented by the specification of a coarser polygon mesh and produced by a recursive algorithmic method. The curved surface, t ...
(emerging alternative to spline-based surfaces)


References

J. Duchon, 1976, Splines minimizing rotation invariant semi-norms in Sobolev spaces. pp 85–100, In: Constructive Theory of Functions of Several Variables, Oberwolfach 1976, W. Schempp and K. Zeller, eds., Lecture Notes in Math., Vol. 571, Springer, Berlin, 1977. doibr>10.1007/BFb0086566
/ref> {{cite web , title=Tutorial No. 13: Apply TPS-RPM Tranformation , url=https://gigamesh.eu/?page=tutorials&topic=13._Apply_TPS_RPM_Transformation , website=GigaMesh Software Framework, accessdate=3 March 2019


External links


Explanation for a simplified variation problemTPS in templated C++
Splines (mathematics) Multivariate interpolation