ShiftImage

Shifts an image using the Fourier shift theorem.
3.2K 次下载
更新时间 2002/11/25

无许可证

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.

引用格式

Edward Brian Welch (2024). ShiftImage (https://www.mathworks.com/matlabcentral/fileexchange/2495-shiftimage), MATLAB Central File Exchange. 检索来源 .

MATLAB 版本兼容性
创建方式 R10
兼容任何版本
平台兼容性
Windows macOS Linux

Community Treasure Hunt

Find the treasures in MATLAB Central and discover how the community can help you!

Start Hunting!
版本 已发布 发行说明
1.0.0.0

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

thank you,
E. Brian Welch