Kaiser window

From Wikipedia, the free encyclopedia

The Kaiser window is a window function used for digital signal processing, and is defined by the formula [1]:

Kaiser window function for N = 128 and α = 1, 2, 4, 8, 16.
Kaiser window function for N = 128 and α = 1, 2, 4, 8, 16.


w_n = 

\left\{ \begin{matrix}

\frac{I_0\left(\alpha \sqrt{1 - \left(\frac{2n}{N}-1\right)^2}\right)} {I_0(\alpha)} 
      & \mbox{if } 0 \leq n \leq N \\  \\

0 & \mbox{otherwise} \\ 

\end{matrix} \right.

where I0 is the zeroth order modified Bessel function of the first kind, α is an arbitrary real number that determines the shape of the window, and the integer N gives the length of the window (N + 1 points). By construction, this function peaks at unity for n = N/2, i.e. at the center of the window, and decays exponentially towards the window edges.

The discrete-time Fourier transform of the sequence {wn} is given by:


W_K(\omega)=
\frac{(N+1)\cdot\sinh\left(\sqrt{\alpha^2-\left(\frac{(N+1)\cdot\omega}{2}\right)^2}\right)}{I_0(\alpha)\cdot\sqrt{\alpha^2-\left(\frac{(N+1)\cdot\omega}{2}\right)^2}}

for the normalized frequency -\pi \leq \omega \leq \pi.

The larger the value of |α|, the narrower the window becomes; α = 0 corresponds to a rectangular window. Conversely, for larger |α| the main lobe of WK(ω) increases in width, while the side lobes decrease in amplitude. Thus, this parameter controls the tradeoff between main-lobe width and side-lobe area, as is illustrated in the plot of the frequency spectra below. For large α, the shape of the Kaiser window (in both time and frequency domain) tends to a Gaussian curve. The Kaiser window is nearly optimal in the sense of its peak's concentration around ω = 0 (Oppenheim et al., 1999).

Frequency spectra of Kaiser windows for α = 4 and α = 8.  The sharp minima in the side lobes are places where the amplitude goes all the way to zero, but does not here because of the finite plotting resolution.
Frequency spectra of Kaiser windows for α = 4 and α = 8. The sharp minima in the side lobes are places where the amplitude goes all the way to zero, but does not here because of the finite plotting resolution.

[edit] Kaiser-Bessel derived (KBD) window

A related window function is the Kaiser-Bessel derived (KBD) window, which is designed to be suitable for use with the modified discrete cosine transform (MDCT). The KBD window function is defined in terms of the Kaiser window {wn} by the formula:

KBD window function for N = 128 and α = 2, 8, 24, 100.
KBD window function for N = 128 and α = 2, 8, 24, 100.

d_n = 

\left\{ \begin{matrix}

\sqrt{\frac{\sum_{j=0}^{n} w_j} {\sum_{j=0}^{N} w_j}}
      & \mbox{if } 0 \leq n < N \\ \\

\sqrt{\frac{\sum_{j=0}^{2N-1-n} w_j} {\sum_{j=0}^{N} w_j}}
      & \mbox{if } N \leq n < 2N \\ \\

0 & \mbox{otherwise} \\ 

\end{matrix} \right.

This defines a window of length 2N, where by construction dn satisfies the Princen-Bradley condition for the MDCT (using the fact that wNn = wn): dn2 + dn + N2 = 1 (interpreting n and n + N modulo 2N). The KBD window is also symmetric in the proper manner for the MDCT: dn = d2N−1−n.

[edit] References

  1. ^ James F. Kaiser and Ronald W. Schafer, On the Use of the Io-Sinh Window for Spectrum Analysis, IEEE Transactions on Acoustics, Speech and Signal Processing, Vol. ASSP-28, No. 1, February 1980, pp 105-107.
  • Oppenheim, A. V.; Schafer, R. W.; and Buck J. R. (1999). Discrete-time signal processing. Upper Saddle River, N.J.: Prentice Hall. ISBN 0-13-754920-2. 
  • Kaiser, J. F. (1966). Digital Filters. In Kuo, F. F. and Kaiser, J. F. (Eds.), System Analysis by Digital Computer, chap. 7. New York, Wiley.
  • Marina Bosi, Kaiser-Bessel Derived Window, Music 422 / EE 367C: Perceptual Audio Coding (Stanford University course page, 2005).
Languages