Elastic Image Warping¶
image warping using SRVF framework
moduleauthor:: J. Derek Tucker <jdtuck@sandia.gov>
-
image.
reparam_image
(It, Im, gam=None, b=None, stepsize=0.0001, itermax=20)[source]¶ This function warps an image to another using SRVF framework
Parameters: - Im – numpy ndarray of shape (N,N) representing a NxN image
- Im – numpy ndarray of shape (N,N) representing a NxN image
- gam – numpy ndarray of shape (N,N) representing an initial warping function
- b – numpy ndarray representing basis matrix
Return type: numpy ndarray
Return gamnew: diffeomorphism
Return Inew: warped image
Return H: energy
Return stepsize: final stepsize