A class of spline functions for landmark-based image registration