Finds the optimal warping function between two images using the elastic framework
reparam_image(It, Im, gam, b, stepsize = 1e-05, itermax = 1000, lmark = FALSE)
Returns a list containing
final warping
aligned image
energy
final stepsize
template image matrix
test image matrix
initial warping array
basis matrix
gradient stepsize (default=1e-5)
maximum number of iterations (default=1000)
use landmarks (default=FALSE)
Q. Xie, S. Kurtek, E. Klassen, G. E. Christensen and A. Srivastava. Metric-based pairwise and multiple image registration. IEEE European Conference on Computer Vision (ECCV), September, 2014