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.
Definitions
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 G=(V,E) be a graph with vertices V and edges E. Let ϕ:V→ℝ be a function of the vertices taking values in a ring. Then, the discrete Laplacian Δ acting on ϕ is defined by
(Δϕ)(v)=∑w:d(w,v)=1[ϕ(v)−ϕ(w)] where d(w,v) 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 (Δϕ)(v) is just the vth entry of the product vector. If the graph has weighted edges, that is, a weighting function γ:E→ℝ is given, then the definition can be generalized to
(Δγϕ)(v)=∑w:d(w,v)=1γwv[ϕ(v)−ϕ(w)] where γwv is the weight value on the edge wv∈E. Closely related to the discrete Laplacian is the averaging operator:
(Mϕ)(v)=1degv∑w:d(w,v)=1ϕ(w).
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 a two-dimensional manifold triangle mesh, the Laplace–Beltrami operator of a scalar function u at a vertex i can be approximated as
(Δu)i≡12Ai∑j∈N(i)(cotαij+cotβij)(uj−ui), where N(i) denotes the neighborhood of i (excluding i), αij and βij are the two angles opposite of the edge ij, and Ai is the vertex area of i; that is, e.g. one third of the summed areas of triangles incident to i. The sign of the discrete Laplace–Beltrami operator is conventionally opposite the sign of the ordinary Laplace operator. 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 L∈ℝ|V|×|V| such that Lu=(Δu)i. Let C be the (sparse) cotangent matrix with entries Cij={12(cotαij+cotβij)ij is an edge, that is j∈N(i),−∑k∈N(i)Ciki=j,0otherwise where N(i) denotes the neighborhood of i, and let M be the diagonal mass matrix M whose i-th entry along the diagonal is the vertex area Ai. Then L=M−1C 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
Δf(x,y)≈f(x−h,y)+f(x+h,y)+f(x,y−h)+f(x,y+h)−4f(x,y)h2, where the grid size is h in both dimensions, so that the five-point stencil of a point (x, y) in the grid is
{(x−h,y),(x,y),(x+h,y),(x,y−h),(x,y+h)}. 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 no source at the boundary, that is, a no-flux boundary condition (aka, insulation, or homogeneous Neumann boundary condition). The control of the state variable at the boundary, as f(x, y) given on the boundary of the grid (aka, Dirichlet boundary condition), 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 (linear or eigenvalue problems). The resulting matrices are usually very sparse and can be solved with iterative methods.
Image processing The 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 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 (such as a Gaussian 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:
… excerpt ends here. Continue reading the full article.
