Multidimensional sampling

From HandWiki

In digital signal processing, multidimensional sampling is the process of converting a function of a multidimensional variable into a discrete collection of values of the function measured on a discrete set of points. This article presents the basic result due to Petersen and Middleton[1] on conditions for perfectly reconstructing a wavenumber-limited function from its measurements on a discrete lattice of points. This result, also known as the Petersen–Middleton theorem, is a generalization of the Nyquist–Shannon sampling theorem for sampling one-dimensional band-limited functions to higher-dimensional Euclidean spaces. In essence, the Petersen–Middleton theorem shows that a wavenumber-limited function can be perfectly reconstructed from its values on an infinite lattice of points, provided the lattice is fine enough. The theorem provides conditions on the lattice under which perfect reconstruction is possible.

As with the Nyquist–Shannon sampling theorem, this theorem also assumes an idealization of any real-world situation, as it only applies to functions that are sampled over an infinitude of points. Perfect reconstruction is mathematically possible for the idealized model but only an approximation for real-world functions and sampling techniques, albeit in practice often a very good one.

Preliminaries

Fig. 1: A hexagonal sampling lattice [math]\displaystyle{ \Lambda }[/math] and its basis vectors v1 and v2
Fig. 2: The reciprocal lattice [math]\displaystyle{ \Gamma }[/math] corresponding to the lattice [math]\displaystyle{ \Lambda }[/math] of Fig. 1 and its basis vectors u1 and u2 (figure not to scale).

The concept of a bandlimited function in one dimension can be generalized to the notion of a wavenumber-limited function in higher dimensions. Recall that the Fourier transform of an integrable function [math]\displaystyle{ f(\cdot) }[/math] on n-dimensional Euclidean space is defined as:

[math]\displaystyle{ \hat{f}(\xi) = \mathcal{F}(f)(\xi) = \int_{\Re^n} f(x) e^{-2\pi i \langle x,\xi \rangle} \, dx }[/math]

where x and ξ are n-dimensional vectors, and [math]\displaystyle{ \langle x,\xi \rangle }[/math] is the inner product of the vectors. The function [math]\displaystyle{ f(\cdot) }[/math] is said to be wavenumber-limited to a set [math]\displaystyle{ \Omega }[/math] if the Fourier transform satisfies [math]\displaystyle{ \hat{f}(\xi) = 0 }[/math] for [math]\displaystyle{ \xi \notin \Omega }[/math].

Similarly, the configuration of uniformly spaced sampling points in one-dimension can be generalized to a lattice in higher dimensions. A lattice is a collection of points [math]\displaystyle{ \Lambda \subset \Re^n }[/math] of the form [math]\displaystyle{ \Lambda = \left\{ \sum_{i=1}^n a_i v_i \; | \; a_i \in\mathbb{Z} \right\} }[/math] where {v1, ..., vn} is a basis for [math]\displaystyle{ \Re^n }[/math]. The reciprocal lattice [math]\displaystyle{ \Gamma }[/math] corresponding to [math]\displaystyle{ \Lambda }[/math] is defined by

[math]\displaystyle{ \Gamma = \left\{ \sum_{i=1}^n a_i u_i \; | \; a_i \in\mathbb{Z} \right\} }[/math]

where the vectors [math]\displaystyle{ u_i }[/math] are chosen to satisfy [math]\displaystyle{ \langle u_i, v_j \rangle = \delta_{ij} }[/math]. That is, if the vectors [math]\displaystyle{ u_i }[/math] form columns of a matrix [math]\displaystyle{ A }[/math] and [math]\displaystyle{ v_i }[/math] the columns of a matrix [math]\displaystyle{ B }[/math], then [math]\displaystyle{ A=B^{-T} }[/math]. An example of a sampling lattice in two dimensional space is a hexagonal lattice depicted in Figure 1. The corresponding reciprocal lattice is shown in Figure 2. The reciprocal lattice of a square lattice in two dimensions is another square lattice. In three dimensional space the reciprocal lattice of a face-centered cubic (FCC) lattice is a body centered cubic (BCC) lattice.

The theorem

Let [math]\displaystyle{ \Lambda }[/math] denote a lattice in [math]\displaystyle{ \Re^n }[/math] and [math]\displaystyle{ \Gamma }[/math] the corresponding reciprocal lattice. The theorem of Petersen and Middleton[1] states that a function [math]\displaystyle{ f(\cdot) }[/math] that is wavenumber-limited to a set [math]\displaystyle{ \Omega \subset \Re^n }[/math] can be exactly reconstructed from its measurements on [math]\displaystyle{ \Lambda }[/math] provided that the set [math]\displaystyle{ \Omega }[/math] does not overlap with any of its shifted versions [math]\displaystyle{ \Omega + x }[/math] where the shift x is any nonzero element of the reciprocal lattice [math]\displaystyle{ \Gamma }[/math]. In other words, [math]\displaystyle{ f(\cdot) }[/math] can be exactly reconstructed from its measurements on [math]\displaystyle{ \Lambda }[/math] provided that [math]\displaystyle{ \Omega \cap \{x+y:y\in\Omega\} = \emptyset }[/math] for all [math]\displaystyle{ x \in \Gamma\setminus\{0\} }[/math].

Reconstruction

Fig. 3: Support of the sampled spectrum [math]\displaystyle{ \hat f_s(\cdot) }[/math] obtained by hexagonal sampling of a two-dimensional function wavenumber-limited to a circular disc. The blue circle represents the support [math]\displaystyle{ \Omega }[/math] of the original wavenumber-limited field, and the green circles represent the repetitions. In this example the spectral repetitions do not overlap and hence there is no aliasing. The original spectrum can be exactly recovered from the sampled spectrum.

The generalization of the Poisson summation formula to higher dimensions[2] can be used to show that the samples, [math]\displaystyle{ \{f(x): x \in \Lambda\} }[/math], of the function [math]\displaystyle{ f(\cdot) }[/math] on the lattice [math]\displaystyle{ \Lambda }[/math] are sufficient to create a periodic summation of the function [math]\displaystyle{ \hat f(\cdot) }[/math]. The result is:

[math]\displaystyle{ \hat f_s(\xi)\ \stackrel{\mathrm{def}}{=} \sum_{y \in \Gamma} \hat f\left(\xi - y\right) = \sum_{x \in \Lambda} |\Lambda|f(x) \ e^{-i 2\pi \langle x, \xi \rangle}, }[/math]

 

 

 

 

(Eq.1)

where [math]\displaystyle{ |\Lambda| }[/math] represents the volume of the parallelepiped formed by the vectors {v1, ..., vn}. This periodic function is often referred to as the sampled spectrum and can be interpreted as the analogue of the discrete-time Fourier transform (DTFT) in higher dimensions. If the original wavenumber-limited spectrum [math]\displaystyle{ \hat f(\cdot) }[/math] is supported on the set [math]\displaystyle{ \Omega }[/math] then the function [math]\displaystyle{ \hat f_s(\cdot) }[/math] is supported on periodic repetitions of [math]\displaystyle{ \Omega }[/math] shifted by points on the reciprocal lattice [math]\displaystyle{ \Gamma }[/math]. If the conditions of the Petersen-Middleton theorem are met, then the function [math]\displaystyle{ \hat f_s(\xi) }[/math] is equal to [math]\displaystyle{ \hat f(\xi) }[/math] for all [math]\displaystyle{ \xi \in \Omega }[/math], and hence the original field can be exactly reconstructed from the samples. In this case the reconstructed field matches the original field and can be expressed in terms of the samples as

[math]\displaystyle{ f(x) = \sum_{y \in \Lambda} |\Lambda| f(y) \check \chi_\Omega(y - x) }[/math],

 

 

 

 

(Eq.2)

where [math]\displaystyle{ \check \chi_\Omega(\cdot) }[/math] is the inverse Fourier transform of the characteristic function of the set [math]\displaystyle{ \Omega }[/math]. This interpolation formula is the higher-dimensional equivalent of the Whittaker–Shannon interpolation formula.

As an example suppose that [math]\displaystyle{ \Omega }[/math] is a circular disc. Figure 3 illustrates the support of [math]\displaystyle{ \hat f_s(\cdot) }[/math] when the conditions of the Petersen-Middleton theorem are met. We see that the spectral repetitions do not overlap and hence the original spectrum can be exactly recovered.

Implications

Aliasing

Main page: Aliasing
Fig. 4: Support of the sampled spectrum [math]\displaystyle{ \hat f_s(\cdot) }[/math] obtained by hexagonal sampling of a two-dimensional function wavenumber-limited to a circular disc. In this example, the sampling lattice is not fine enough and hence the discs overlap in the sampled spectrum. Thus the spectrum within [math]\displaystyle{ \Omega }[/math] represented by the blue circle cannot be recovered exactly due to the overlap from the repetitions (shown in green), thus leading to aliasing.
Fig. 5: Spatial aliasing in the form of a Moiré pattern.
Fig. 6: Properly sampled image of brick wall.

The theorem gives conditions on sampling lattices for perfect reconstruction of the sampled. If the lattices are not fine enough to satisfy the Petersen-Middleton condition, then the field cannot be reconstructed exactly from the samples in general. In this case we say that the samples may be aliased. Again, consider the example in which [math]\displaystyle{ \Omega }[/math] is a circular disc. If the Petersen-Middleton conditions do not hold, the support of the sampled spectrum will be as shown in Figure 4. In this case the spectral repetitions overlap leading to aliasing in the reconstruction.

A simple illustration of aliasing can be obtained by studying low-resolution images. A gray-scale image can be interpreted as a function in two-dimensional space. An example of aliasing is shown in the images of brick patterns in Figure 5. The image shows the effects of aliasing when the sampling theorem's condition is not satisfied. If the lattice of pixels is not fine enough for the scene, aliasing occurs as evidenced by the appearance of the Moiré pattern in the image obtained. The image in Figure 6 is obtained when a smoothened version of the scene is sampled with the same lattice. In this case the conditions of the theorem are satisfied and no aliasing occurs.

Optimal sampling lattices

One of the objects of interest in designing a sampling scheme for wavenumber-limited fields is to identify the configuration of points that leads to the minimum sampling density, i.e., the density of sampling points per unit spatial volume in [math]\displaystyle{ \Re^n }[/math]. Typically the cost for taking and storing the measurements is proportional to the sampling density employed. Often in practice, the natural approach to sample two-dimensional fields is to sample it at points on a rectangular lattice. However, this is not always the ideal choice in terms of the sampling density. The theorem of Petersen and Middleton can be used to identify the optimal lattice for sampling fields that are wavenumber-limited to a given set [math]\displaystyle{ \Omega \subset \Re^d }[/math]. For example, it can be shown that the lattice in [math]\displaystyle{ \Re^2 }[/math] with minimum spatial density of points that admits perfect reconstructions of fields wavenumber-limited to a circular disc in [math]\displaystyle{ \Re^2 }[/math] is the hexagonal lattice.[3] As a consequence, hexagonal lattices are preferred for sampling isotropic fields in [math]\displaystyle{ \Re^2 }[/math].

Optimal sampling lattices have been studied in higher dimensions.[4] Generally, optimal sphere packing lattices are ideal for sampling smooth stochastic processes while optimal sphere covering lattices[5] are ideal for sampling rough stochastic processes.

Since optimal lattices, in general, are non-separable, designing interpolation and reconstruction filters requires non-tensor-product (i.e., non-separable) filter design mechanisms. Box splines provide a flexible framework for designing such non-separable reconstruction FIR filters that can be geometrically tailored for each lattice.[6][7] Hex-splines[8] are the generalization of B-splines for 2-D hexagonal lattices. Similarly, in 3-D and higher dimensions, Voronoi splines[9] provide a generalization of B-splines that can be used to design non-separable FIR filters which are geometrically tailored for any lattice, including optimal lattices.

Explicit construction of ideal low-pass filters (i.e., sinc functions) generalized to optimal lattices is possible by studying the geometric properties of Brillouin zones (i.e., [math]\displaystyle{ \Omega }[/math] in above) of these lattices (which are zonotopes).[10] This approach provides a closed-form explicit representation of [math]\displaystyle{ \check \chi_\Omega(\cdot) }[/math] for general lattices, including optimal sampling lattices. This construction provides a generalization of the Lanczos filter in 1-D to the multidimensional setting for optimal lattices.[10]

Applications

The Petersen–Middleton theorem is useful in designing efficient sensor placement strategies in applications involving measurement of spatial phenomena such as seismic surveys, environment monitoring and spatial audio-field measurements.[11]

References

  1. 1.0 1.1 D. P. Petersen and D. Middleton, "Sampling and Reconstruction of Wave-Number-Limited Functions in N-Dimensional Euclidean Spaces", Information and Control, vol. 5, pp. 279–323, 1962.
  2. E. M. Stein and G. Weiss, "Introduction to Fourier Analysis on Euclidean Spaces", Princeton University Press, Princeton, 1971.
  3. D. R. Mersereau, “The processing of hexagonally sampled two-dimensional signals,” Proceedings of the IEEE, vol. 67, no. 6, pp. 930 – 949, June 1979.
  4. Kunsch, H. R.; Agrell, E.; Hamprecht, F. A. (2005). "Optimal Lattices for Sampling". IEEE Transactions on Information Theory 51 (2): 634. doi:10.1109/TIT.2004.840864. https://research.chalmers.se/en/publication/11977. 
  5. J. H. Conway, N. J. A. Sloane. Sphere packings, lattices and groups. Springer, 1999.
  6. A. Entezari. Optimal sampling lattices and trivariate box splines. [Vancouver, BC.]: Simon Fraser University, 2007. <http://summit.sfu.ca/item/8178>.
  7. Entezari, A.; Van De Ville, D.; Moller, T. (2008). "Practical Box Splines for Reconstruction on the Body Centered Cubic Lattice". IEEE Transactions on Visualization and Computer Graphics 14 (2): 313–328. doi:10.1109/TVCG.2007.70429. PMID 18192712. 
  8. Van De Ville, D.; Blu, T.; Unser, M.; Philips, W.; Lemahieu, I.; Van De Walle, R. (2004). "Hex-Splines: A Novel Spline Family for Hexagonal Lattices". IEEE Transactions on Image Processing 13 (6): 758–772. doi:10.1109/TIP.2004.827231. PMID 15648867. http://infoscience.epfl.ch/record/63112. 
  9. Mirzargar, M.; Entezari, A. (2010). "Voronoi Splines". IEEE Transactions on Signal Processing 58 (9): 4572. doi:10.1109/TSP.2010.2051808. 
  10. 10.0 10.1 Ye, W.; Entezari, A. (2012). "A Geometric Construction of Multivariate Sinc Functions". IEEE Transactions on Image Processing 21 (6): 2969–2979. doi:10.1109/TIP.2011.2162421. PMID 21775264. 
  11. Bardan, V. (2007-06-11) (in en). The Petersen-Middleton Theorem and Sampling of Seismic Data. European Association of Geoscientists & Engineers. pp. cp. doi:10.3997/2214-4609.201401831. ISBN 978-90-73781-54-2. https://www.earthdoc.org/content/papers/10.3997/2214-4609.201401831.