Discrete Laplace operator


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, 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.

Definitions

Graph Laplacians

There are various definitions of the discrete Laplacian for graphs, differing by sign and scale factor. The traditional definition of the graph Laplacian, given below, corresponds to the negative continuous Laplacian on a domain with a free boundary.
Let be a graph with vertices and edges. Let be a function of the vertices taking values in a ring. Then, the discrete Laplacian acting on is defined by
where 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, can be written as a column vector; and so is the product of the column vector and the Laplacian matrix, while is just the vth entry of the product vector.
If the graph has weighted edges, that is, a weighting function is given, then the definition can be generalized to
where is the weight value on the edge.
Closely related to the discrete Laplacian is the
averaging operator
':

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. For a manifold triangle mesh, the Laplace-Beltrami operator of a scalar function at a vertex can be approximated as
where the sum is over all adjacent vertices of, and are the two angles opposite of the edge, and is the vertex area of ; that is, one third of the summed areas of triangles incident to. The above cotangent formula can be derived using many different methods among which are piecewise linear finite elements, finite volumes, and discrete exterior calculus.
To facilitate computation, the Laplacian is encoded in a matrix such that. Let be the cotangent matrix with entries
Where denotes the neighborhood of.
And let be the diagonal mass matrix whose -th entry along the diagonal is the vertex area. Then is the sought discretization of the Laplacian.
A more general overview of mesh operators is given in.

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
where the grid size is h in both dimensions, so that the five-point stencil of a point in the grid is
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 on the boundary of the lattice grid, thus this is the case of no source at the boundary, that is, a no-flux boundary condition. The control of the state variable at the boundary, as
f given on the boundary of the grid, is rarely used for graph Laplacians, but is 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. 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. Since derivative filters are often sensitive to noise in an image, the Laplace operator is often preceded by a smoothing filter in order to remove the noise before calculating the derivative. The smoothing filter and Laplace filter are often combined into a single filter.

Implementation via operator discretization

For one-, two- and three-dimensional signals, the discrete Laplacian can be given as convolution with the following kernels:
corresponds to the finite-difference formula seen previously. It is stable for very smoothly varying fields, but for equations with rapidly varying solutions more stable and isotropic form of the laplacian operator is required, such as the nine-point stencil, which includes the diagonals:
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:
These kernels are deduced by using discrete differential quotients.
It can be shown that the following discrete approximation of the two-dimensional Laplacian operator as a convex combination of difference operators
for γ ∈ 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 that the Laplacian operator can be approximated by the two-parameter family of difference operators
where

Implementation via continuous reconstruction

A discrete signal, comprising images, can be viewed as a discrete representation of a continuous function, where the coordinate vector and the value domain is real.
Derivation operation is therefore directly applicable to the continuous function,.
In particular any discrete image, with reasonable presumptions on the discretization process, e.g. assuming band limited functions, or wavelets expandable functions, etc. can be reconstructed by means of well-behaving interpolation functions underlying the reconstruction formulation,
where are discrete representations of on grid and are interpolation functions specific to the grid. On a uniform grid, such as images, and for bandlimited functions, interpolation functions are shift invariant amounting to with being an appropriately dilated sinc function defined in -dimensions i.e.. Other approximations of on uniform grids, are appropriately dilated Gaussian functions in -dimensions. Accordingly the discrete Laplacian becomes a discrete version of the Laplacian of the continuous
which in turn is a convolution with the Laplacian of the interpolation function on the uniform grid.
An advantage of using Gaussians as interpolation functions is that they yield linear operators, including Laplacians, that are free from rotational artifacts of the coordinate frame in which is represented via, in -dimensions, and are frequency aware by definition. A linear operator has not only a limited range in the domain but also an effective range in the frequency domain which can be controlled explicitly via the variance of the Gaussian in a principled manner. The resulting filtering can be implemented by separable filters and decimation /pyramid representations for further computational efficiency in -dimensions. In other words, the discrete Laplacian filter of any size can be generated conveniently as the sampled Laplacian of Gaussian with spatial size befitting the needs of a particular application as controlled by its variance. Monomials which are non-linear operators can also be implemented using a similar reconstruction and approximation approach provided that the signal is sufficiently over-sampled. Thereby, such non-linear operators e.g. Structure Tensor, and Generalized Structure Tensor which are used in pattern recognition for their total least-square optimality in orientation estimation, can be realized.

Spectrum

The spectrum of the discrete Laplacian on an infinite grid is of key interest; since it is a self-adjoint operator, it has a real spectrum. For the convention on, the spectrum lies within . This may also be seen by applying the Fourier transform. Note that the discrete Laplacian on an infinite grid has purely absolutely continuous spectrum, and therefore, no eigenvalues or eigenfunctions.

Theorems

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
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 be a potential function defined on the graph. Note that P can be considered to be a multiplicative operator acting diagonally on
Then 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
where is understood to be the Kronecker delta function on the graph: ; that is, it equals 1 if v=w and 0 otherwise.
For fixed and a complex number, the Green's function considered to be a function of v is the unique solution to

ADE classification

Certain equations involving the discrete Laplacian only have solutions on the simply-laced Dynkin diagrams, and are an example of the ADE classification. Specifically, the only positive solutions to the homogeneous equation:
in words,
are on the extended ADE Dynkin diagrams, of which there are 2 infinite families and 3 exceptions. 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:
In terms of the Laplacian, the positive solutions to the inhomogeneous equation:
The resulting numbering is unique, and consists of integers; for E8 they range from 58 to 270, and have been observed as early as 1968.