fbpx
Wikipedia

Thin plate spline

Thin plate splines (TPS) are a spline-based technique for data interpolation and smoothing. "A spline is a function defined by polynomials in a piecewise manner."[1][2] They were introduced to geometric design by Duchon.[3] They are an important special case of a polyharmonic spline. Robust Point Matching (RPM) is a common extension and shortly known as the TPS-RPM algorithm.[4]

Physical analogy edit

The name thin plate spline refers to a physical analogy involving the bending of a plate or 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   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   or   coordinates within the plane. In 2D cases, given a set of   corresponding control points (knots), the TPS warp is described by   parameters which include 6 global affine motion parameters and   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.

Smoothness measure edit

The TPS arises from consideration of the integral of the square of the second derivative—this forms its smoothness measure. In the case where   is two dimensional, for interpolation, the TPS fits a mapping function   between corresponding point-sets   and   that minimizes the following energy function:

 

The smoothing variant, correspondingly, uses a tuning parameter   to control the rigidity of the deformation, balancing the aforementioned criterion with the measure of goodness of fit, thus minimizing:[1][2]

 

For this variational problem, it can be shown that there exists a unique minimizer   .[5] The finite element discretization of this variational problem, the method of elastic maps, is used for data mining and nonlinear dimensionality reduction. In simple words, "the first term is defined as the error measurement term and the second regularisation term is a penalty on the smoothness of  ."[1][2] It is in a general case needed to make the mapping unique.

Radial basis function edit

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   in space to a new location  , represented by

 

where   denotes the usual Euclidean norm and   is a set of mapping coefficients. The TPS corresponds to the radial basis kernel  .

Spline edit

Suppose the points are in 2 dimensions ( ). One can use homogeneous coordinates for the point-set where a point   is represented as a vector  . The unique minimizer   is parameterized by   which consists of two matrices   and   ( ).

 

where d is a   matrix representing the affine transformation (hence   is a   vector) and c is a   warping coefficient matrix representing the non-affine deformation. The kernel function   is a   vector for each point  , where each entry  . 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  ,   becomes:

 

where   and   are just concatenated versions of the point coordinates   and  , and   is a   matrix formed from the  . Each row of each newly formed matrix comes from one of the original vectors. The matrix   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  , 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 edit

TPS has been widely used as the non-rigid transformation model in image alignment and shape matching.[6] An additional application is the analysis and comparisons of archaeological findings in 3D[7] and was implemented for triangular meshes in the GigaMesh Software Framework.[8]

The thin plate spline has a number of properties which have contributed to its popularity:

  1. It produces smooth surfaces, which are infinitely differentiable.
  2. There are no free parameters that need manual tuning.
  3. It has closed-form solutions for both warping and parameter estimation.
  4. 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.[citation needed]

See also edit

References edit

  1. ^ a b c Tahir, Anam (2023). Formation Control of Swarms of Unmanned Aerial Vehicles (PDF). Finland: University of Turku. ISBN 978-951-29-9411-3.
  2. ^ a b c Tahir, Anam; Haghbayan, Hashem; Böling, Jari M.; Plosila, Juha (2023). "Energy-Efficient Post-Failure Reconfiguration of Swarms of Unmanned Aerial Vehicles". IEEE Access. 11: 24768–24779. doi:10.1109/ACCESS.2022.3181244.
  3. ^ 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. doi:10.1007/BFb0086566
  4. ^ Chui, Haili (2001), Non-Rigid Point Matching: Algorithms, Extensions and Applications, Yale University, New Haven, CT, USA, CiteSeerX 10.1.1.109.6855{{citation}}: CS1 maint: location missing publisher (link)
  5. ^ Wahba, Grace (1990), Spline models for observational data, Philadelphia, PA, USA: Society for Industrial and Applied Mathematics (SIAM), CiteSeerX 10.1.1.470.5213, doi:10.1137/1.9781611970128, ISBN 978-0-89871-244-5
  6. ^ Bookstein, F. L. (June 1989). "Principal warps: thin plate splines and the decomposition of deformations". IEEE Transactions on Pattern Analysis and Machine Intelligence. 11 (6): 567–585. doi:10.1109/34.24792.
  7. ^ Bogacz, Bartosz; Papadimitriou, Nikolas; Panagiotopoulos, Diamantis; Mara, Hubert (2019), "Recovering and Visualizing Deformation in 3D Aegean Sealings", Proc. of the 14th International Conference on Computer Vision Theory and Application (VISAPP), Prague, Czech Republic, retrieved 28 March 2019
  8. ^ "Tutorial No. 13: Apply TPS-RPM Tranformation". GigaMesh Software Framework. Retrieved 3 March 2019.

External links edit

  • Explanation for a simplified variation problem
  • TPS at MathWorld
  • TPS in C++
  • TPS in templated C++
  • TPS interactive morphing demo
  • TPS in R
  • TPS in JS

thin, plate, spline, spline, based, technique, data, interpolation, smoothing, spline, function, defined, polynomials, piecewise, manner, they, were, introduced, geometric, design, duchon, they, important, special, case, polyharmonic, spline, robust, point, ma. Thin plate splines TPS are a spline based technique for data interpolation and smoothing A spline is a function defined by polynomials in a piecewise manner 1 2 They were introduced to geometric design by Duchon 3 They are an important special case of a polyharmonic spline Robust Point Matching RPM is a common extension and shortly known as the TPS RPM algorithm 4 Contents 1 Physical analogy 2 Smoothness measure 3 Radial basis function 3 1 Spline 4 Applications 5 See also 6 References 7 External linksPhysical analogy editThe name thin plate spline refers to a physical analogy involving the bending of a plate or 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 displaystyle z nbsp 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 displaystyle x nbsp or y displaystyle y nbsp coordinates within the plane In 2D cases given a set of K displaystyle K nbsp corresponding control points knots the TPS warp is described by 2 K 3 displaystyle 2 K 3 nbsp parameters which include 6 global affine motion parameters and 2 K displaystyle 2K nbsp 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 Smoothness measure editThe TPS arises from consideration of the integral of the square of the second derivative this forms its smoothness measure In the case where x displaystyle x nbsp is two dimensional for interpolation the TPS fits a mapping function f x displaystyle f x nbsp between corresponding point sets y i displaystyle y i nbsp and x i displaystyle x i nbsp that minimizes the following energy function E t p s f i 1 K y i f x i 2 displaystyle E mathrm tps f sum i 1 K y i f x i 2 nbsp The smoothing variant correspondingly uses a tuning parameter l displaystyle lambda nbsp to control the rigidity of the deformation balancing the aforementioned criterion with the measure of goodness of fit thus minimizing 1 2 E t p s s m o o t h f i 1 K y i f x i 2 l 2 f x 1 2 2 2 2 f x 1 x 2 2 2 f x 2 2 2 d x 1 d x 2 displaystyle E mathrm tps mathrm smooth f sum i 1 K y i f x i 2 lambda iint left left frac partial 2 f partial x 1 2 right 2 2 left frac partial 2 f partial x 1 partial x 2 right 2 left frac partial 2 f partial x 2 2 right 2 right textrm d x 1 textrm d x 2 nbsp For this variational problem it can be shown that there exists a unique minimizer f displaystyle f nbsp 5 The finite element discretization of this variational problem the method of elastic maps is used for data mining and nonlinear dimensionality reduction In simple words the first term is defined as the error measurement term and the second regularisation term is a penalty on the smoothness of f displaystyle f nbsp 1 2 It is in a general case needed to make the mapping unique Radial basis function editMain article Radial basis function The thin plate spline has a natural representation in terms of radial basis functions Given a set of control points c i i 1 2 K displaystyle c i i 1 2 ldots K nbsp a radial basis function defines a spatial mapping which maps any location x displaystyle x nbsp in space to a new location f x displaystyle f x nbsp represented by f x i 1 K w i f x c i displaystyle f x sum i 1 K w i varphi left x c i right nbsp where displaystyle left cdot right nbsp denotes the usual Euclidean norm and w i displaystyle w i nbsp is a set of mapping coefficients The TPS corresponds to the radial basis kernel f r r 2 log r displaystyle varphi r r 2 log r nbsp Spline edit Suppose the points are in 2 dimensions D 2 displaystyle D 2 nbsp One can use homogeneous coordinates for the point set where a point y i displaystyle y i nbsp is represented as a vector 1 y i x y i y displaystyle 1 y ix y iy nbsp The unique minimizer f displaystyle f nbsp is parameterized by a displaystyle alpha nbsp which consists of two matrices d displaystyle d nbsp and c displaystyle c nbsp a d c displaystyle alpha d c nbsp f t p s z a f t p s z d c z d ϕ z c z d i 1 K ϕ i z c i displaystyle f tps z alpha f tps z d c z cdot d phi z cdot c z cdot d sum i 1 K phi i z c i nbsp where d is a D 1 D 1 displaystyle D 1 times D 1 nbsp matrix representing the affine transformation hence z displaystyle z nbsp is a 1 D 1 displaystyle 1 times D 1 nbsp vector and c is a K D 1 displaystyle K times D 1 nbsp warping coefficient matrix representing the non affine deformation The kernel function ϕ z displaystyle phi z nbsp is a 1 K displaystyle 1 times K nbsp vector for each point z displaystyle z nbsp where each entry ϕ i z z x i 2 log z x i displaystyle phi i z z x i 2 log z x i nbsp Note that for TPS the control points c i displaystyle c i nbsp are chosen to be the same as the set of points to be warped x i displaystyle x i nbsp so we already use x i displaystyle x i nbsp in the place of the control points If one substitutes the solution for f displaystyle f nbsp E t p s displaystyle E tps nbsp becomes E t p s d c Y X d F c 2 l c T F c displaystyle E tps d c Y Xd Phi c 2 lambda c T Phi c nbsp where Y displaystyle Y nbsp and X displaystyle X nbsp are just concatenated versions of the point coordinates y i displaystyle y i nbsp and x i displaystyle x i nbsp and F displaystyle Phi nbsp is a K K displaystyle K times K nbsp matrix formed from the ϕ x i x j displaystyle phi x i x j nbsp Each row of each newly formed matrix comes from one of the original vectors The matrix F displaystyle Phi nbsp 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 displaystyle c nbsp 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 editTPS has been widely used as the non rigid transformation model in image alignment and shape matching 6 An additional application is the analysis and comparisons of archaeological findings in 3D 7 and was implemented for triangular meshes in the GigaMesh Software Framework 8 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 citation needed See also editElastic map a discrete version of the thin plate approximation for manifold learning Inverse distance weighting Polyharmonic spline the thin plate spline is a special case of a polyharmonic spline Radial basis function Smoothing spline Spline Subdivision surface emerging alternative to spline based surfaces References edit a b c Tahir Anam 2023 Formation Control of Swarms of Unmanned Aerial Vehicles PDF Finland University of Turku ISBN 978 951 29 9411 3 a b c Tahir Anam Haghbayan Hashem Boling Jari M Plosila Juha 2023 Energy Efficient Post Failure Reconfiguration of Swarms of Unmanned Aerial Vehicles IEEE Access 11 24768 24779 doi 10 1109 ACCESS 2022 3181244 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 doi 10 1007 BFb0086566 Chui Haili 2001 Non Rigid Point Matching Algorithms Extensions and Applications Yale University New Haven CT USA CiteSeerX 10 1 1 109 6855 a href Template Citation html title Template Citation citation a CS1 maint location missing publisher link Wahba Grace 1990 Spline models for observational data Philadelphia PA USA Society for Industrial and Applied Mathematics SIAM CiteSeerX 10 1 1 470 5213 doi 10 1137 1 9781611970128 ISBN 978 0 89871 244 5 Bookstein F L June 1989 Principal warps thin plate splines and the decomposition of deformations IEEE Transactions on Pattern Analysis and Machine Intelligence 11 6 567 585 doi 10 1109 34 24792 Bogacz Bartosz Papadimitriou Nikolas Panagiotopoulos Diamantis Mara Hubert 2019 Recovering and Visualizing Deformation in 3D Aegean Sealings Proc of the 14th International Conference on Computer Vision Theory and Application VISAPP Prague Czech Republic retrieved 28 March 2019 Tutorial No 13 Apply TPS RPM Tranformation GigaMesh Software Framework Retrieved 3 March 2019 External links editExplanation for a simplified variation problem TPS at MathWorld TPS in C TPS in templated C TPS interactive morphing demo TPS in R TPS in JS Retrieved from https en wikipedia org w index php title Thin plate spline amp oldid 1219738518, wikipedia, wiki, book, books, library,

article

, read, download, free, free download, mp3, video, mp4, 3gp, jpg, jpeg, gif, png, picture, music, song, movie, book, game, games.