Two-dimensional window design

Last updated

Windowing is a process where an index-limited sequence has its maximum energy concentrated in a finite frequency interval. This can be extended to an N-dimension where the N-D window has the limited support and maximum concentration of energy in a separable or non-separable N-D passband. The design of an N-dimensional window particularly a 2-D window finds applications in various fields such as spectral estimation of multidimensional signals, design of circularly symmetric and quadrantally symmetric non-recursive 2D filters, [1] design of optimal convolution functions, image enhancement so as to reduce the effects of data-dependent processing artifacts, optical apodization and antenna array design. [2]

Contents

Two-dimensional window

Due to the various applications of multi-dimensional signal processing, the various design methodologies of 2-D windows is of critical importance in order to facilitate these applications mentioned above, respectively.

Consider a two-dimensional window function (or window array) with its Fourier transform denoted by . Let and denote the impulse and frequency response of an ideal filter and and denote the impulse and frequency response of a filter approximating the ideal filter, then we can approximate by . Since has an infinite extent it can be approximated as a finite impulse response by multiplying with a window function as shown below

and in the Fourier domain

  [2]

The problem is to choose a window function with an appropriate shape such that is close to and in any region surrounding a discontinuity of , shouldn't contain excessive ripples due to the windowing.

2-D window function from 1-D function

There are four approaches for generating 2-D windows using a one-dimensional window as a prototype. [3]

Approach I

One of the methods of deriving the 2-D window is from the outer product of two 1-D windows, i.e., The property of separability is exploited in this approach. The window formed has a square region of support and is separable in the two variables. In order to understand this approach, [4] consider 1-D Kaiser window whose window function is given by

then the corresponding 2-D function is given by

where:

The Fourier transform of is the outer product of the Fourier transforms of . Hence . [5]

Approach II

Another method of extending the 1-D window design to a 2-D design is by sampling a circularly rotated 1-D continuous window function. [2] A function is said to possess circular symmetry if it can be written as a function of its radius, independent of i.e.

If w(n) denotes a good 1-D even symmetric window then the corresponding 2-D window function [2] is

(where is a constant) and

The transformation of the Fourier transform of the window function in rectangular co-ordinates to polar co-ordinates results in a Fourier–Bessel transform expression which is called as Hankel transform. Hence the Hankel transform is used to compute the Fourier transform of the 2-D window functions.

If this approach is used to find the 2-D window from the 1-D window function then their Fourier transforms have the relation

[2]

where:

is a 1-D step function

and

is a 2-D step function.
In order to calculate the percentage of mainlobe constituted by the sidelobe, the volume under the sidelobes is calculated unlike in 1-D where the area under the sidelobes is used.
In order to understand this approach, consider 1-D Kaiser window then the corresponding 2-D function can be derived as

This is the most widely used approach to design the 2-D windows.

2-D filter design by windowing using window formulations obtained from the above two approaches will result in the same filter order. This results in an advantage for the second approach since its circular region of support has fewer non-zero samples than the square region of support obtained from the first approach which in turn results in computational savings due to reduced number of coefficients of the 2-D filter. But the disadvantage of this approach is that the frequency characteristics of the 1-D window are not well preserved in 2-D cases by this rotation method. [3] It was also found that the mainlobe width and sidelobe level of the 2-D windows are not as well behaved and predictable as their 1-D prototypes. [4] While designing a 2-D window there are two features that have to be considered for the rotation. Firstly, the 1-D window is only defined for integer values of but value isn't an integer in general. To overcome this, the method of interpolation can be used to define values for for any arbitrary Secondly, the 2-D FFT must be applicable to the 2-D window.

Approach III

Another approach is to obtain 2-D windows by rotating the frequency response of a 1-D window in Fourier space followed by the inverse Fourier transform. [6] In approach II, the spatial-domain signal is rotated whereas in this approach the 1-D window is rotated in a different domain (e.g., frequency-signal).

Thus the Fourier transform of the 2-D window function is given by

The 2-D window function can be obtained by computing the inverse inverse Fourier transform of .

Another way to show the type-preserving rotation is when the relation is satisfied. This implies that a slice of the frequency response of 2-D window is equal to that of the 1-D window where the orientation of is arbitrary. In spatial domain, this relation is given by . This implies that a slice of the frequency response is the same as the Fourier transform of the one-directional integration of the 2-D window .

The advantage of this approach is that the individual features of 1-D window response are well preserved in the obtained 2-D window response . Also, the circular symmetry is improved considerably in a discrete system. The drawback is that it's computationally inefficient due to the requirement of 2-D inverse Fourier transform and hence less useful in practice. [3]

Approach IV

A new method was proposed to design a 2-D window by applying the McClellan transformation to a 1-D window. [7] Each coefficient of the resulting 2-D window is the linear combination of coefficients of the corresponding 1-D window with integer or power of 2 weighting.

Consider a case of even length, then the frequency response of the 1-D window of length N can be written as

Consider the McClellan transformation:

which is equivalent to

Substituting the above, we get the frequency response of the corresponding 2-D window

From the above equation, the coefficients of the 2-D window can be obtained.

To illustrate this approach, consider the Tseng window. The 1-D Tseng window of weights can be written as

By implementing this approach, the frequency response of the 2-D McClellan-transformed Tseng window is given by

where are the 2-D Tseng window coefficients.

This window finds applications in antenna array design for the detection of AM signals. [8]

The advantages include simple and efficient design, nearly circularly symmetric frequency response of the 2-D window, preserving of the 1-D window prototype features. However, when this approach is used for FIR filter design it was observed that the 2-D filters designed were not as good as those originally proposed by McClellan.

2-D window functions

Using the above approaches, the 2-D window functions for few of the 1-D windows are as shown below. When Hankel transform is used to find the frequency response of the window function, it is difficult to represent it in a closed form. Except for rectangular window and Bartlett window, the other window functions are represented in their original integral form. The two-dimensional window function is represented as with a region of support given by where the window is set to unity at origin and for Using the Hankel transform, the frequency response of the window function is given by

  [9]

where is Bessel function identity.

Rectangular window

Figure1: 2-D circularly symmetric window surface plot 2-D Rectangular window.jpg
Figure1: 2-D circularly symmetric window surface plot
Figure2: 2-D circularly symmetric window contour plot 2-D rectangular window contour plot.jpg
Figure2: 2-D circularly symmetric window contour plot

The two-dimensional version of a circularly symmetric rectangular window is as given below [9]

The window is cylindrical with the height equal to one and the base equal to 2a. The vertical cross-section of this window is a 1-D rectangular window.
The frequency response of the window after substituting the window function as defined above, using the Hankel transform, is as shown below

Bartlett window

The two-dimensional mathematical representation of a Bartlett window is as shown below [9]

The window is cone-shaped with its height equal to 1 and the base is a circle with its radius 2a. The vertical cross-section of this window is a 1-D triangle window.
The Fourier transform of the window using the Hankel transform is as shown below

Kaiser window

The 2-D Kaiser window is represented by [9]

The cross-section of the 2-D window gives the response of a 1-D Kaiser Window function.
The Fourier transform of the window using the Hankel transform is as shown below

Related Research Articles

Bessel function Families of solutions to related differential equations

Bessel functions, first defined by the mathematician Daniel Bernoulli and then generalized by Friedrich Bessel, are canonical solutions y(x) of Bessel's differential equation

Discrete Fourier transform

In mathematics, the discrete Fourier transform (DFT) converts a finite sequence of equally-spaced samples of a function into a same-length sequence of equally-spaced samples of the discrete-time Fourier transform (DTFT), which is a complex-valued function of frequency. The interval at which the DTFT is sampled is the reciprocal of the duration of the input sequence. An inverse DFT is a Fourier series, using the DTFT samples as coefficients of complex sinusoids at the corresponding DTFT frequencies. It has the same sample-values as the original input sequence. The DFT is therefore said to be a frequency domain representation of the original input sequence. If the original sequence spans all the non-zero values of a function, its DTFT is continuous, and the DFT provides discrete samples of one cycle. If the original sequence is one cycle of a periodic function, the DFT provides all the non-zero values of one DTFT cycle.

Quantum harmonic oscillator Important, well-understood quantum mechanical model

The quantum harmonic oscillator is the quantum-mechanical analog of the classical harmonic oscillator. Because an arbitrary smooth potential can usually be approximated as a harmonic potential at the vicinity of a stable equilibrium point, it is one of the most important model systems in quantum mechanics. Furthermore, it is one of the few quantum-mechanical systems for which an exact, analytical solution is known.

Fourier transform Mathematical transform that expresses a function of time as a function of frequency

In mathematics, a Fourier transform (FT) is a mathematical transform that decomposes functions depending on space or time into functions depending on spatial or temporal frequency, such as the expression of a musical chord in terms of the volumes and frequencies of its constituent notes. The term Fourier transform refers to both the frequency domain representation and the mathematical operation that associates the frequency domain representation to a function of space or time.

Fourier series Decomposition of periodic functions into sums of simpler sinusoidal forms

In mathematics, a Fourier series is a periodic function composed of harmonically related sinusoids, combined by a weighted summation. With appropriate weights, one cycle of the summation can be made to approximate an arbitrary function in that interval. As such, the summation is a synthesis of another function. The discrete-time Fourier transform is an example of Fourier series. The process of deriving weights that describe a given function is a form of Fourier analysis. For functions on unbounded intervals, the analysis and synthesis analogies are Fourier transform and inverse transform.

Phonon Quasiparticle of mechanical vibrations

In physics, a phonon is a collective excitation in a periodic, elastic arrangement of atoms or molecules in condensed matter, specifically in solids and some liquids. Often referred to as a quasiparticle, it is an excited state in the quantum mechanical quantization of the modes of vibrations for elastic structures of interacting particles. Phonons can be thought of as quantized sound waves, similar to photons as quantized light waves.

Kaiser window

The Kaiser window, also known as the Kaiser–Bessel window, was developed by James Kaiser at Bell Laboratories. It is a one-parameter family of window functions used in finite impulse response filter design and spectral analysis. The Kaiser window approximates the DPSS window which maximizes the energy concentration in the main lobe but which is difficult to compute.

Window function function used in signal processing

In signal processing and statistics, a window function is a mathematical function that is zero-valued outside of some chosen interval, normally symmetric around the middle of the interval, usually near a maximum in the middle, and usually tapering away from the middle. Mathematically, when another function or waveform/data-sequence is "multiplied" by a window function, the product is also zero-valued outside the interval: all that is left is the part where they overlap, the "view through the window". Equivalently, and in actual practice, the segment of data within the window is first isolated, and then only that data is multiplied by the window function values. Thus, tapering, not segmentation, is the main purpose of window functions.

In signal processing, a finite impulse response (FIR) filter is a filter whose impulse response is of finite duration, because it settles to zero in finite time. This is in contrast to infinite impulse response (IIR) filters, which may have internal feedback and may continue to respond indefinitely.

Radon transform

In mathematics, the Radon transform is the integral transform which takes a function f defined on the plane to a function Rf defined on the (two-dimensional) space of lines in the plane, whose value at a particular line is equal to the line integral of the function over that line. The transform was introduced in 1917 by Johann Radon, who also provided a formula for the inverse transform. Radon further included formulas for the transform in three dimensions, in which the integral is taken over planes. It was later generalized to higher-dimensional Euclidean spaces, and more broadly in the context of integral geometry. The complex analogue of the Radon transform is known as the Penrose transform. The Radon transform is widely applicable to tomography, the creation of an image from the projection data associated with cross-sectional scans of an object.

In mathematics, the Hartley transform (HT) is an integral transform closely related to the Fourier transform (FT), but which transforms real-valued functions to real-valued functions. It was proposed as an alternative to the Fourier transform by Ralph V. L. Hartley in 1942, and is one of many known Fourier-related transforms. Compared to the Fourier transform, the Hartley transform has the advantages of transforming real functions to real functions and of being its own inverse.

Sinc function Special mathematical function defined as sin(x)/x

In mathematics, physics and engineering, the sinc function, denoted by sinc(x), has two forms, normalized and unnormalized.

In mathematics, in the area of harmonic analysis, the fractional Fourier transform (FRFT) is a family of linear transformations generalizing the Fourier transform. It can be thought of as the Fourier transform to the n-th power, where n need not be an integer — thus, it can transform a function to any intermediate domain between time and frequency. Its applications range from filter design and signal analysis to phase retrieval and pattern recognition.

Stable distribution Distribution of variables which satisfies a stability property under linear combinations

In probability theory, a distribution is said to be stable if a linear combination of two independent random variables with this distribution has the same distribution, up to location and scale parameters. A random variable is said to be stable if its distribution is stable. The stable distribution family is also sometimes referred to as the Lévy alpha-stable distribution, after Paul Lévy, the first mathematician to have studied it.

In mathematics, the Hankel transform expresses any given function f(r) as the weighted sum of an infinite number of Bessel functions of the first kind Jν(kr). The Bessel functions in the sum are all of the same order ν, but differ in a scaling factor k along the r axis. The necessary coefficient Fν of each Bessel function in the sum, as a function of the scaling factor k constitutes the transformed function. The Hankel transform is an integral transform and was first developed by the mathematician Hermann Hankel. It is also known as the Fourier–Bessel transform. Just as the Fourier transform for an infinite interval is related to the Fourier series over a finite interval, so the Hankel transform over an infinite interval is related to the Fourier–Bessel series over a finite interval.

The electromagnetic wave equation is a second-order partial differential equation that describes the propagation of electromagnetic waves through a medium or in a vacuum. It is a three-dimensional form of the wave equation. The homogeneous form of the equation, written in terms of either the electric field E or the magnetic field B, takes the form:

Wavelet transform

In mathematics, a wavelet series is a representation of a square-integrable function by a certain orthonormal series generated by a wavelet. This article provides a formal, mathematical definition of an orthonormal wavelet and of the integral wavelet transform.

In mathematics, Fourier–Bessel series is a particular kind of generalized Fourier series based on Bessel functions.

In mathematics and signal processing, the constant-Q transform, simply known as CQT transforms a data series to the frequency domain. It is related to the Fourier transform and very closely related to the complex Morlet wavelet transform.

In statistical signal processing, the goal of spectral density estimation (SDE) is to estimate the spectral density of a random signal from a sequence of time samples of the signal. Intuitively speaking, the spectral density characterizes the frequency content of the signal. One purpose of estimating the spectral density is to detect any periodicities in the data, by observing peaks at the frequencies corresponding to these periodicities.

References

  1. Antoniou, A.; Lu, W.-S. (August 1990). "Design of 2-D nonrecursive filters using the window method". IEE Proceedings G - Circuits, Devices and Systems. 137 (4): 247–250. doi:10.1049/ip-g-2.1990.0038. ISSN   0956-3768.
  2. 1 2 3 4 5 Huang, T. (March 1972). "Two-dimensional windows". IEEE Transactions on Audio and Electroacoustics. 20 (1): 88–89. doi:10.1109/TAU.1972.1162331. ISSN   0018-9278.
  3. 1 2 3 PEI, SOO-CHANG; JAW, SY-BEEN (Sep 1987). "A Novel 2-D Window for Spectral Estimation". IEEE Transactions on Circuits and Systems. 34 (9): 1112–1115. Bibcode:1987ITCS...34.1112P. doi:10.1109/TCS.1987.1086250. ISSN   0098-4094.
  4. 1 2 Speake, Theresa C.; Mersereau, Russell M. (Feb 1981). "A Note on the Use of Windows for Two-Dimensional FIR Filter Design". IEEE Transactions on Acoustics, Speech, and Signal Processing. 29 (1): 125–127. doi:10.1109/TASSP.1981.1163515. ISSN   0096-3518.
  5. Dudgeon, D. E.; Mersereau, R. M. (1984). Multidimensional Digital Signal Processing. Englewood Cliffs, NJ: Prentice-Hall.
  6. Kato, Haruo; Furukawa, Tomozo (Aug 1981). "Two-Dimensional Type-Preserving Circular Windows". IEEE Transactions on Acoustics, Speech, and Signal Processing. 29 (4): 926–928. doi:10.1109/TASSP.1981.1163655. ISSN   0096-3518.
  7. Yu, Tian-Hu; Mitra, Sanjit K. (Aug 1985). "A New Two-Dimensional Window". IEEE Transactions on Acoustics, Speech, and Signal Processing. 33 (4): 1058–1061. doi:10.1109/TASSP.1985.1164668. ISSN   0096-3518.
  8. Choi, S.; Sarkar, T.K. (June 1989). "Design of 2-D Tseng window and its application to antenna array synthesis". Antennas and Propagation Society International Symposium, 1989. AP-S. Digest: 1638–1641. doi:10.1109/APS.1989.135042.
  9. 1 2 3 4 Wulang, Widada (December 1979). TWO DIMENSIONAL WINDOW FUNCTIONS (Master's thesis). Naval Postgraduate School, Monterey, CA. hdl:10945/18901.