ShiftImage

Shifts an image using the Fourier shift theorem.

You are now following this Submission

IMG_SHIFTED = SHIFTIMAGE(IMG, FRAC_DELTAX, FRAC_DELTAY);

Shifts the image IMG using the Fourier shift theorem by the Field-of-view (FOV) fractions FRAC_DELTAX and FRAC_DELTAY.

The fraction is relative to the size of the image such that a value of 1.0 shifts the image back to where it started. Shift fractions outside this range will wrap around to the corresponding shift within the range.

The shift is performed using Fourier sinc interpolation, i.e. the Fourier shift theorem, via simple phase adjustments in the frequency domain. This may lead to Gibbs phenomena.

Cite As

Edward Brian Welch (2026). ShiftImage (https://in.mathworks.com/matlabcentral/fileexchange/2495-shiftimage), MATLAB Central File Exchange. Retrieved .

General Information

MATLAB Release Compatibility

  • Compatible with any release

Platform Compatibility

  • Windows
  • macOS
  • Linux
Version Published Release Notes Action
1.0.0.0

Please change category to "Image Processing". I think more people will find it there.

thank you,
E. Brian Welch