laplace_beltrami_operator: Compute Laplace-Beltrami operator

View source: R/smoothing_on_manifolds.R

laplace_beltrami_operatorR Documentation

Compute Laplace-Beltrami operator

Description

Discrete Laplace-Beltrami operator associated with a triangle-mesh manifold

Usage

laplace_beltrami_operator(
  manifold = NULL,
  vertex_matrix = NULL,
  triangle_matrix = NULL
)

Arguments

manifold

A list of length 2 with names 'vertex_matrix' and 'triangle_matrix' like bic_obj object produced by read_obj

vertex_matrix

3-by-N matrix denoting the position of the N vertices defining the triangle-mesh manifold. Similar to argument vertices in rgl::tmesh3d. Required if manifold argument is not specified.

triangle_matrix

3-by-M matrix denoting the position of the M triangles defining the triangle-mesh manifold. Elements of each column are indices of vertices defining the triangle (i.e. indices are columns of the vertex_matrix). Similar to argument indices in rgl::tmesh3d. Required if manifold argument is not specified.

Details

Either supply manifold argument OR vertex_matrix and triangle_matrix arguments.

Value

sparse square matrix representing the discrete Laplace-Beltrami operator for the manifold


Mouse-Imaging-Centre/RMINC documentation built on Nov. 12, 2022, 1:50 p.m.