Académique Documents
Professionnel Documents
Culture Documents
L. P. Yaroslavsky
A new computing method for discrete-signal sinc interpolation suitable for use in image and signal
processing and the synthesis of holograms is described. It is shown to be superior to the commonly used
zero-padding interpolation method in terms of interpolation accuracy, flexibility, and computational
complexity. 1997 Optical Society of America
Key words: Signal interpolation, discrete Fourier transform, fast Fourier transform, sinc function,
image geometric transformations.
and hologram encoding for the synthesis of binary with a function sincd~M; N; . . .! that is a discrete
holograms. analog of the sinc function and approximates it to the
The most accurate method for representing signals accuracy of boundary effects. M is a parameter
with monotonically decreased spectra from their equal to N 2 1, N, or N 1 1, depending on the algo-
samples is sinc interpolation. In sinc interpolation, rithmic implementation of interpolation formula ~2!.
a continuous signal a~x! is restored from its samples The commonly used method of discrete sinc-
$an% that are taken with a discretization interval Dx interpolation is zero padding. It is implemented by
by their interpolation with a sinc function: padding the signal discrete Fourier transform ~DFT!
spectrum with an appropriate number of zeros and
`
sin@p~xyDx 2 n!# performing the inverse transformation of the padded
a~x! 5 (
n52`
an
@p~xyDx 2 n!#
spectrum. Three methods of zero padding are pos-
sible. In the first method the signal spectral coeffi-
` cient aNy2 ~N is number of signal samples! is
5 ( an sinc@p~xyDx 2 n!#. (1) discarded from the padded spectrum, and this results
n52`
in interpolation by Eq. ~2! with M 5 N 2 1. In the
second method this coefficient is repeated twice,
In digital signal processing the exact sinc interpola- which results in interpolation by Eq. ~2! with M 5
tion is replaced by the signal interpolation from its N 1 1. In the third method the coefficient aNy2 is
halved and then repeated twice, as in the second
method. This method is evidently a combination of
the first two methods and results in a signal interpo-
When this work was performed, the author was with the Insti-
lation with a function
tute dOptique, Centre National de la Recherche Scientifique, Ba-
sincd~ 6 1; N; x! 5 @sincd~N 2 1; N; x!
timent 503, Centre Scientifique dOrsay, B.P. 147, 91403 Orsay
Cedex, France. 1 sincd~N 1 1; N; x!#y2. (3)
Received 20 March 1996; revised manuscript received 27 August
1996. Method 3 converges to zero much faster than the
0003-6935y97y020460-04$10.00y0 sincd functions with M 5 N 6 1 ~see Fig. 1! and
1997 Optical Society of America therefore produces fewer boundary effects.
H S DJ
number of interpolated signal samples per initial one.
M21
With the use of the so-called pruned fast Fourier 1 rp
N (
transform ~FFT! algorithms,13 the computational anuyp,nyq 5 aru,n exp 2i2p
r50 N
F G
complexity can be reduced to O~NL log N!. How-
ever, the zero-padding method has a number of draw- n~r 1 q!
backs: ~1! It requires a buffer memory for NL signal 3 exp 2i2p
N
F S D G
samples while actually working with the sequences of
N samples. ~2! The use of the radix 2 FFT requires N21
M21
L to be a power of 2, which restricts the flexibility of 5 (a
k50
k exp i2pk n 1
2
yN
the algorithm. ~3! Signal expansions by arbitrary
factors cannot be performed. ~4! Implementation of 3 sincd~M; N; k 2 n 1 u 2 p!
pruned FFT algorithms requires cumbersome pro-
gramming.
I describe an alternative method of sinc interpola-
F S
3 exp 2i2pn q 1
M21
2
DG
tion that eliminates these restrictions. The method
is based on the so-called shifted DFTs ~SDFTs!.3
SDFTs take into account the possibility of an arbi-
3 exp i2p F M21
N
~u 2 p! , G (5)
trary shift of the signal-discretization sample points which, with an appropriate choice of the parameters,
in relation to the signal coordinate system and are provides a sincd-interpolated signal @Eq. ~2!# for
defined as xyDx 5 k 2 p 1 u. For instance, let us set the values
H S DJ F G
u 5 0 and q 5 n 5 2~M 2 1!y2; we then have
~n 1 u!r
H( J
N21
1 nn
N (
aru,n 5 an exp 6 i2p exp i2p , N21
n50 N N an0yp,nyq 5 ak sincd~M; N; k 2 n 2 p!
S D
k50
(4)
M21
where the positive exponent is for the direct SDFT, 3 exp 2ip p . (6)
N
the negative exponent is for the inverse SDFT, and u
and n are arbitrary shift parameters that describe This expression suggests an algorithm for the dis-
shifts ~in fractions of the corresponding discretization crete sinc interpolation shown in Fig. 2~b!. When
intervals! of the signal and its spectrums sampling M 5 N 2 1, interpolation is equivalent to the first
points, respectively, in relation to the corresponding version of the zero-padding algorithm, and when M 5
coordinate systems. N 1 1, interpolation is equivalent to the second ver-
The possibility of signal interpolation by the SDFT sion of the zero-padding algorithm. When M 5 N,
follows from the fact that one can perform direct and the algorithm implements interpolation by a function
inverse SDFTs with different signal and spectral given by
shifts @Fig. 2~a!#. In general, one can show that, with
shifts ~u, n! and ~ p, q! for the direct and inverse sin~px!
sincd~N; N; x! 5 , (7)
operations, respectively, the SDFT will result in a N sin~pxyN!