File Exchange

image thumbnail

3D Thin Plate Spline Warping Function

version (1.47 KB) by Yang Yang
3D TPS warping function


Updated 20 Jul 2012

View License

[wobject] = TPS3D(points, ctrlpoints,object)
points: old positions of control points
ctrlpoints: new positions of control points
object: source template

wobject: warped source template

All input and output are N X D matrices.

Cite As

Yang Yang (2020). 3D Thin Plate Spline Warping Function (, MATLAB Central File Exchange. Retrieved .

Comments and Ratings (7)

Yu Jiang

Great function. Is there a way to extract the deformation field between the old and new objects??

Amazing function, thanks so much!

And also in what format would the information be?

Hi Yang Yang,

Great program. It looks really well written and does almost exactly what I'm looking for, but I'm having some trouble figuring out how to use it. What information did you expect to be the input for the "points", "ctrlpoints", and "object" parameters?


I used this function but the result not correct
what do you mean by points?
is the landmark of reference frame before Alignment?
please help me

Yang Yang


Would this function be the 3D version of the tpaps() function?

MATLAB Release Compatibility
Created with R2011a
Compatible with any release
Platform Compatibility
Windows macOS Linux
Tags Add Tags