Open Access Articles- Top Results for Discrete Laplace operator

Discrete Laplace operator

For the discrete equivalent of the Laplace transform, see Z-transform.

In mathematics, the discrete Laplace operator is an analog of the continuous Laplace operator, defined so that it has meaning on a graph or a discrete grid. For the case of a finite-dimensional graph (having a finite number of edges and vertices), the discrete Laplace operator is more commonly called the Laplacian matrix.

The discrete Laplace operator occurs in physics problems such as the Ising model and loop quantum gravity, as well as in the study of discrete dynamical systems. It is also used in numerical analysis as a stand-in for the continuous Laplace operator. Common applications include image processing, where it is known as the Laplace filter, and in machine learning for clustering and semi-supervised learning on neighborhood graphs.


Graph Laplacians

There are various definitions of the discrete Laplacian for graphs, differing by sign and scale factor (sometimes one averages over the neighboring vertices, other times one just sums; this makes no difference for a regular graph). The traditional definition of the graph Laplacian, given below, corresponds to the negative continuous Laplacian on a domain with a free boundary.

Let <math>G = (V,E)</math> be a graph with vertices <math>\scriptstyle V</math> and edges <math>\scriptstyle E</math>. Let <math>\phi\colon V\to R</math> be a function of the vertices taking values in a ring. Then, the discrete Laplacian <math>\Delta</math> acting on <math>\phi</math> is defined by

<math>(\Delta \phi)(v)=\sum_{w:\,d(w,v)=1}\left[\phi(v)-\phi(w)\right]\,</math>

where <math>d(w,v)</math> is the graph distance between vertices w and v. Thus, this sum is over the nearest neighbors of the vertex v. For a graph with a finite number of edges and vertices, this definition is identical to that of the Laplacian matrix. That is, <math> \phi</math> can be written as a column vector; and so <math>\Delta\phi</math> is the product of the column vector and the Laplacian matrix, while <math>(\Delta \phi)(v)</math> is just the v'th entry of the product vector.

If the graph has weighted edges, that is, a weighting function <math>\gamma\colon E\to R</math> is given, then the definition can be generalized to


where <math>\gamma_{wv}</math> is the weight value on the edge <math>wv\in E</math>.

Closely related to the discrete Laplacian is the averaging operator:

<math>(M\phi)(v)=\frac{1}{\deg v}\sum_{w:\,d(w,v)=1}\phi(w).</math>

Mesh Laplacians

In addition to considering the connectivity of nodes and edges in a graph, mesh laplace operators take into account the geometry of a surface (e.g. the angles at the nodes). For triangle meshes, for example, different discretizations exist, some of them are an extension of the graph operator, while other approaches are based on the finite element method (see below) and allow for higher order approximations. An overview on some mesh operators and a comparison is given in.[1]

Finite Differences

Approximations of the Laplacian, obtained by the finite difference method or by the finite element method, can also be called Discrete Laplacians. For example, the Laplacian in two dimensions can be approximated using the five-point stencil finite difference method, resulting in

<math> \Delta f(x,y) \approx \frac{f(x-h,y) + f(x+h,y) + f(x,y-h) + f(x,y+h) - 4f(x,y)}{h^2}, \,</math>

where the grid size is h in both dimensions, so that the five point stencil of a point (xy) in the grid is

<math>\{(x-h, y), (x, y), (x+h, y), (x, y-h), (x, y+h)\}. \,</math>

If the grid size h=1, the result is the negative discrete Laplacian on the graph, which is the square lattice grid. There are no constraints here on the values of the function f(x,y) on the boundary of the lattice grid, thus this is the case of the homogeneous Neumann boundary condition, i.e., free boundary. Other types of boundary conditions, e.g., the homogeneous Dirichlet boundary condition, where f(x,y)=0 on the boundary of the grid, are rarely used for graph Laplacians, but are common in other applications.

Multidimensional discrete Laplacians on rectangular cuboid regular grids have very special properties, e.g., they are Kronecker sums of one-dimensional discrete Laplacians, see Kronecker sum of discrete Laplacians, in which case all its eigenvalues and eigenvectors can be explicitly calculated.

Finite Element Method

In this approach, the domain is discretized into smaller elements, often triangles or tetrahedra, but other elements such as rectangles or cuboids are possible. The solution space is then approximated using so called form-functions of a pre-defined degree. The differential equation containing the Laplace operator is then transformed into a variational formulation, and a system of equations is constructed (linear or eigenvalue problems). The resulting matrices are usually very sparse and can be solved with iterative methods.

Image Processing

Discrete Laplace operator is often used in image processing e.g. in edge detection and motion estimation applications. The discrete Laplacian is defined as the sum of the second derivatives Laplace operator#Coordinate expressions and calculated as sum of differences over the nearest neighbours of the central pixel.

Implementation in Image Processing

For one, two and three dimensional signals, the discrete Laplacian can be given as convolution with the following kernels:

1D-filter: <math>\vec{D}^2_x=\begin{bmatrix}1 & -2 & 1\end{bmatrix}</math>
2D-filter: <math>\mathbf{D}^2_{xy}=\begin{bmatrix}0 & 1 & 0\\1 & -4 & 1\\0 & 1 & 0\end{bmatrix}</math>

or, including the diagonals:

2D-filter: <math>\mathbf{D}^2_{xy}=\begin{bmatrix}0.5 & 1 & 0.5\\1 & -6 & 1\\0.5 & 1 & 0.5\end{bmatrix}</math>
3D-filter: <math>\mathbf{D}^2_{xyz}</math> is given by: first plane = <math>\begin{bmatrix}0 & 0 & 0\\0 & 1 & 0\\0 & 0 & 0\end{bmatrix}</math> ; second plane = <math>\begin{bmatrix}0 & 1 & 0\\1 & -6 & 1\\0 & 1 & 0\end{bmatrix}</math> ; third plane = <math>\begin{bmatrix}0 & 0 & 0\\0 & 1 & 0\\0 & 0 & 0\end{bmatrix}</math>

nD-filter: For the element <math>a_{x_1, x_2, \dots , x_n}</math> of the kernel <math>\mathbf{D}^2_{x_1, x_2, \dots , x_n},</math>
<math>a_{x_1, x_2, \dots , x_n} = \left\{\begin{array}{ll}

-2n, & \text{if } s = n \\ 1, & \text{if } s = n - 1 \\ 0, & \text{otherwise} \end{array}\right.</math>

where xi is the position (either -1, 0 or 1) of the element in the kernel in the i:th direction, and s is the number of directions i for which xi = 0.

Note that the nD version, which is based on the graph generalization of the Laplacian, assumes all neighbors to be at an equal distance, and hence, leads to the following 2D-filter with diagonals included, rather than the version above:

2D-filter: <math>\mathbf{D}^2_{xy}=\begin{bmatrix}1 & 1 & 1\\1 & -8 & 1\\1 & 1 & 1\end{bmatrix}.</math>

These kernels are deduced by using discrete differential quotients.

In [2][3] it is shown that the following discrete approximation of the two-dimensional Laplacian operator as a convex combination of difference operators

<math>\nabla^2_{\gamma}= (1 - \gamma) \nabla^2_{5} + \gamma \nabla ^2_{\times}

        = (1 - \gamma) \begin{bmatrix}0 & 1 & 0\\1 & -4 & 1\\0 & 1 & 0\end{bmatrix}
           + \gamma \begin{bmatrix}1/2 & 0 & 1/2\\0 & -2 & 0\\1/2 & 0 & 1/2\end{bmatrix}


for γ \in [0, 1] is compatible with discrete scale-space properties, where specifically the value γ = 1/3 gives the best approximation of rotational symmetry. Regarding three-dimensional signals, it is shown in [3] that the Laplacian operator can be approximated by the two-parameter family of difference operators

<math> \nabla^2_{\gamma_1,\gamma_2}

        = (1 - \gamma_1 - \gamma_2) \, \nabla_7^2  + \gamma_1 \, \nabla_{+^3}^2 +  \gamma_2 \, \nabla_{\times^3}^2 )




 (\nabla_7^2 f)_{0, 0, 0}
       f_{-1, 0, 0} + f_{+1, 0, 0} + f_{0, -1, 0} + f_{0, +1, 0} + f_{0, 0, -1} + f_{0, 0, +1} - 6 f_{0, 0, 0}

</math> <math>

 (\nabla_{+^3}^2 f)_{0, 0, 0}
     = \frac{1}{4}
         (f_{-1, -1, 0} + f_{-1, +1, 0} + f_{+1, -1, 0} + f_{+1, +1, 0} 
       + f_{-1, 0, -1} + f_{-1, 0, +1} + f_{+1, 0, -1} + f_{+1, 0, +1} 
       + f_{0, -1, -1} + f_{0, -1, +1} + f_{0, +1, -1} + f_{0, +1, +1}
         - 12 f_{0, 0, 0}),

</math> <math>

  (\nabla_{\times^3}^2 f)_{0, 0, 0}
 = \frac{1}{4}
         (f_{-1, -1, -1} + f_{-1, -1, +1} + f_{-1, +1, -1} + f_{-1, +1, +1}
        + f_{+1, -1, -1} + f_{+1, -1, +1} + f_{+1, +1, -1} + f_{+1, +1, +1}
          -  8 f_{0, 0, 0}).



The spectrum of the discrete Laplacian is of key interest; since it is a self-adjoint operator, it has a real spectrum. For the convention <math>\Delta = I - M</math>, the spectrum lies within <math>[0,2]</math> (as the averaging operator has spectral values in <math>[-1,1]</math>). The smallest non-zero eigenvalue is denoted <math>\lambda_1</math> and is called the spectral gap. There is also the notion of the spectral radius, commonly taken as the largest eigenvalue.

The eigenvectors don't depend on the convention above (for regular graphs), and are the same as for the averaging operator (as they differ by adding a multiple of the identity), though the eigenvalues differ according to the convention.

For operators that approximate the underlying continuous Laplacian the eigenvalues are a sequence of positive real numbers. The first eigenvalue is zero, if the domain has a boundary and the Neumann boundary condition is used, or if the shape contains no boundary (e.g. the sphere).


If the graph is an infinite square lattice grid, then this definition of the Laplacian can be shown to correspond to the continuous Laplacian in the limit of an infinitely fine grid. Thus, for example, on a one-dimensional grid we have

<math>\frac{\partial^2F}{\partial x^2} =

\lim_{\epsilon \rightarrow 0}



This definition of the Laplacian is commonly used in numerical analysis and in image processing. In image processing, it is considered to be a type of digital filter, more specifically an edge filter, called the Laplace filter.

Discrete Schrödinger operator

Let <math>P:V\rightarrow R</math> be a potential function defined on the graph. Note that P can be considered to be a multiplicative operator acting diagonally on <math>\phi</math>


Then <math>H=\Delta+P</math> is the discrete Schrödinger operator, an analog of the continuous Schrödinger operator.

If the number of edges meeting at a vertex is uniformly bounded, and the potential is bounded, then H is bounded and self-adjoint.

The spectral properties of this Hamiltonian can be studied with Stone's theorem; this is a consequence of the duality between posets and Boolean algebras.

On regular lattices, the operator typically has both traveling-wave as well as Anderson localization solutions, depending on whether the potential is periodic or random.

Discrete Green's function

The Green's function of the discrete Schrödinger operator is given in the resolvent formalism by

<math>G(v,w;\lambda)=\left\langle\delta_v\left| \frac{1}{H-\lambda}\right| \delta_w\right\rangle </math>

where <math>\delta_w</math> is understood to be the Kronecker delta function on the graph: <math>\delta_w(v)=\delta_{wv}</math>; that is, it equals 1 if v=w and 0 otherwise.

For fixed <math>w\in V</math> and <math>\lambda</math> a complex number, the Green's function considered to be a function of v is the unique solution to


ADE classification

Further information: ADE classification

Certain equations involving the discrete Laplacian only have solutions on the simply-laced Dynkin diagrams (all edges multiplicity 1), and are an example of the ADE classification. Specifically, the only positive solutions to the homogeneous equation:

<math>\Delta \phi = \phi,</math>

in words,

"Twice any label is the sum of the labels on adjacent vertices,"

are on the extended (affine) ADE Dynkin diagrams, of which there are 2 infinite families (A and D) and 3 exceptions (E). The resulting numbering is unique up to scale, and if the smallest value is set at 1, the other numbers are integers, ranging up to 6.

The ordinary ADE graphs are the only graphs that admit a positive labeling with the following property:

Twice any label minus two is the sum of the labels on adjacent vertices.

In terms of the Laplacian, the positive solutions to the inhomogeneous equation:

<math>\Delta \phi = \phi - 2.</math>

The resulting numbering is unique (scale is specified by the "2"), and consists of integers; for E8 they range from 58 to 270, and have been observed as early as (Bourbaki 1968).

See also


  1. ^ Reuter, M. and Biasotti, S. and Giorgi, D. and Patane, G. and Spagnuolo, M.", (2009). "Discrete Laplace-Beltrami operators for shape analysis and segmentation". Computers & Graphics (Elsevier) 33 (3): 381–390. doi:10.1016/j.cag.2009.03.005. 
  2. ^ Lindeberg, T., "Scale-space for discrete signals," PAMI(12), No. 3, March 1990, pp. 234-254.
  3. ^ a b Lindeberg, T., Scale-Space Theory in Computer Vision, Kluwer Academic Publishers, 1994, ISBN 0-7923-9418-6
  • Bourbaki, Nicolas (1968), "Chapters 4–6", Groupes et algebres de Lie, Paris: Hermann 
  • T.Sunada, Discrete geometric analysis, Proceedings of Symposia in Pure Mathematics (ed. by P. Exner, J. P. Keating, P. Kuchment, T. Sunada, A. Teplyaev), 77(2008), 51-86

External links