English

Resampling images in Fourier domain

Instrumentation and Methods for Astrophysics 2015-06-18 v2

Abstract

When simulating sky images, one often takes a galaxy image F(x)F(x) defined by a set of pixelized samples and an interpolation kernel, and then wants to produce a new sampled image representing this galaxy as it would appear with a different point-spread function, a rotation, shearing, or magnification, and/or a different pixel scale. These operations are sometimes only possible, or most efficiently executed, as resamplings of the Fourier transform F~(u)\tilde F(u) of the image onto a uu-space grid that differs from the one produced by a discrete Fourier transform (DFT) of the samples. In some applications it is essential that the resampled image be accurate to better than 1 part in 10310^3, so in this paper we first use standard Fourier techniques to show that Fourier-domain interpolation with a wrapped sinc function yields the exact value of F~(u)\tilde F(u) in terms of the input samples and kernel. This operation scales with image dimension as N4N^4 and can be prohibitively slow, so we next investigate the errors accrued from approximating the sinc function with a compact kernel. We show that these approximations produce a multiplicative error plus a pair of ghost images (in each dimension) in the simulated image. Standard Lanczos or cubic interpolators, when applied in Fourier domain, produce unacceptable artifacts. We find that errors <1<1 part in 10310^3 can be obtained by (1) 4-fold zero-padding of the original image before executing the xux\rightarrow u DFT, followed by (2) resampling to the desired uu grid using a 6-point, piecewise-quintic interpolant that we design expressly to minimize the ghosts, then (3) executing the DFT back to xx domain.

Keywords

Cite

@article{arxiv.1401.2636,
  title  = {Resampling images in Fourier domain},
  author = {Gary M. Bernstein and Daniel Gruen},
  journal= {arXiv preprint arXiv:1401.2636},
  year   = {2015}
}

Comments

Typographical and one algebraic correction, to appear in PASP March 2014

R2 v1 2026-06-22T02:43:34.360Z