MATLAB: Struggling with shifting an image using non-integer offset

image processingImage Processing Toolboximage realignmentimage registrationinterp2

I am not sure I understand the fact that the image's resolution 1500×2000 (integer values) pixels and offset_X = -3.0314 and offset_Y = 1.2432.
How to go about shifting the image taking into account the offset?

Best Answer

Use IMTRANSFORM, griddedInterpolant(), or INTERP2.