Ratio for weighted thin-plate spline. Calculation of the weighted thin-plate spline ratio based on the distance of the point p to be registed, the closest vertebra, and the surface of the torso. The points in green are obtained from the contours of the surface topography and the points in red are obtained from the MRI.