<<

Noname manuscript No. (will be inserted by the editor)

Laplace–Beltrami Operator on Digital Surfaces

Thomas Caissard · David Coeurjolly · Jacques-Olivier Lachaud · Tristan Roussillon

Received: date / Accepted: date

Abstract This article presents a novel discretization of the Laplace–Beltrami operator on digital surfaces.We adapt an existing convolution technique proposed by Belkin et al. [5] for triangular meshes to topological border of subsets of n Z . The core of the method relies on first-order estimation of measures associated with our discrete elements (such as length, area etc.). We show strong consistency (i.e. pointwise convergence) of the operator and compare it against various other discretizations.

Keywords Laplace–Beltrami Operator · Digital · Discrete Geometry · Fig. 1 A digital surface of dimension two embedded in R3.

1 Introduction

Computer graphics, and particularly the field of geometry It is used for example as a basis for Functional Maps [48] or processing, revolves around studying discrete embedded mesh compression [42]. Other applications are for example surfaces (in many cases 2D surfaces in 3D). The surface fairing, mesh smoothing, remeshing or feature Laplace–Beltrami operator (the Laplacian on a manifold) is extractions (see [42]). The operator is also related to a fundamental tool in geometry as it holds many properties diffusion and the heat equation on a surface and connected of the surface. Eigenfunctions of the operator form a natural to a large field of classical linking geometry of basis for square integrable functions on the manifold, in the manifold to properties of the heat flow (see for example same manner as Fourrier harmonics for functions on a circle. [56]).

This work has been partly funded by C O M E D I C ANR-15-CE40- Many characterizations of discrete surfaces exist such 0006 research grant. We would like to thank the anonymous reviewers as triangular, quadrangular meshes (or more generally sim- for their detailed comments and suggestions for the manuscript. plicial complexes), points clouds, etc. Our model of surface Thomas Caissard · David Coeurjolly · Tristan Roussillon comes from the Digital Geometry theory [35], where the Univ de Lyon, CNRS, INSA-Lyon, LIRIS, UMR 5205, F-69621, France discrete structure is the topological boundary of a subset of d+ E-mail: [email protected] points in Z 1 called a digital surface (an example of this ob- E-mail: [email protected] E-mail: [email protected] ject is pictured in Fig. 1). Such surfaces can be constructed from mathematical modeling or from boundaries of parti- Jacques-Olivier Lachaud tions in volumetric images. Indeed, digital objects naturally Laboratoire de Mathematiques´ (LAMA), UMR 5127 CNRS, Universite´ arise in many material sciences or medical imaging applica- Savoie Mont Blanc, Chambery,´ France tions as tomographic volumetric acquisition devices usually E-mail: [email protected] generate regularly spaced data (e.g [29,22]). 2 Thomas Caissard et al.

Our goal here is to present a discretization of the Laplace– A more versatile expression of discrete exterior calcu- Beltrami operator on digital surfaces which satisfies strong lus comes with Hirani’s thesis [33] and the monograph of consistency (i.e. pointwise convergence) with respect to the Desbrun, Hirani, Leok and Marsden [16]. Their primal-dual Laplace–Beltrami operator on the underlying manifold when construction does not impose the use of triangular meshes. the digital surface is the boundary of the digitization of a con- The discretization is not an approximation of the smooth tinuous object. As we demonstrate in our experiments, pre- , but rather a discrete analog: vious works fail to efficiently estimate the Laplace–Beltrami operator on these specific surfaces. The main obstacle is the We do not prove that these definitions converge to the smooth counterparts. The definitions are chosen so as to make some fact that vectors to these surfaces do not converge to important theorems like the generalized Stokes’ theorem true the normal vectors of the underlying manifold, whatever the by definition, to preserve naturality with respect to pullbacks, sampling rate. and to ensure that operators are local. We adapt the operator of Belkin et al. [5] to our spe- [33,16] cific data. The method uses an accurate estimation of areas Metrics play a role in musical operators (flat and sharp associated with digital surface elements. This estimation is which convert vector field to k-forms and conversely) and achieved through a multigrid convergent digital normal esti- Hodge stars. Note that discrete exterior calculus coincides mator of Coeurjolly et al. [11]. This paper is a direct follow- with the cotangent scheme on triangular meshes when the up on [6] where we experimentally investigate applications Voronoi dual is used. such as heat diffusion or shape approximation through the In parallel, another discrete calculus emerges in the im- eigenvectors decomposition. We show strong consistency of age, graph, electric circuits and network analysis communi- the discrete operator, and compare it experimentally with var- ties, summed up in Grady and Polimeni’s book [24]. Met- ious other discretizations adapted on digital surfaces. rics are also incorporated, although without the relation with the ambient space. This feature was desired since people frequently wish to analyze data without any knowledge of Discretization schemes overview. The Laplacian being a sec- an embedding. Authors then show how classical filtering ond order , a discrete calculus framework procedures and (discrete versions of) energy models (e.g. is required to define this operator on embedded combinato- Mumford-Shah, Total Variation) fit well within this frame- rial structures such as meshes or digital surfaces. The first work. elements of discrete calculus may be traced back to Regge A much-alike discrete calculus on “chainlets” appears in calculus [55] for quantum physics, where discrete domains geometric measure theory, for the mathematical analysis of are modeled with adjacent tetrahedra and metrics are only general compact shapes like fractals [25,26]. The exterior determined by edge lengths. The discrete Laplacian has also , a Hodge star and Laplace–Beltrami are defined been present in spectral analysis of graphs since the 1950s. there for very general spaces. However computational as- Then, with the development of geometric acquisition devices pects are unclear. We can also mention a complex analysis and modeling techniques, interest grew toward a calculus approach to discrete calculus for 2D digital surfaces [44,45] working on meshes and more generally simplicial complexes. with applications to digital surface parametrization and tex- Early works include the widely studied cotangent formula ture mapping [8]. [58,59,17,50,23,43,46,49] for various applications, which Operators for point clouds can be found in [4] and more may be derived directly from standard finite element method recently in [54]. A discretization on polygonal surfaces was (e.g. see [42]). proposed by Alexa and Wardetzky [2]. As digital surfaces Discrete exterior calculus was then developed in the com- being specific quadrangulated polygonal surface, such ap- putational mathematics and geometry processing community, proach perfectly fits with our data. However, we show in with a particular focus on triangulated meshes. The “German the experiments such polygonal Laplace–Beltrami operator school” of discrete calculus developed an exact 2D calcu- gives inconsistent results. Indeed, digital surface quads are lus which generalizes the cotangent Laplacian, and is based axis-aligned quads and do not capture the metric of the un- on (conforming and non-conforming) finite elements [51], derlying continuous object properly. Note that Alexa and thus obtaining expected theoretical results such as Stokes’ Wardetzky polygonal operator matches with the cotangent theorem and Hodge decomposition. Its applications range one on triangular meshes. Other operators on polyhedral sur- widely: exact integration allows accurate remeshing via L2 faces can be found in [31,64,32] (see discussion below). projection, shape morphing by prescribing first-order data on the surface, etc. This theory provides a sound base for Convergence and consistency of the operator. We clarify no- actual computation, with one important limitation: the neces- tions of convergences for operators. Suppose that you want to sity to only use triangles (and, furthermore, triangles with solve the equation Au = f where A : X → Y is a bounded lin- good aspect ratios, for positive Laplacian). ear operator between two Banach spaces and f ∈ Y is given. Laplace–Beltrami Operator on Digital Surfaces 3

Suppose also that you have an approximate Aε of A and fε This setting is called the weak consistency and is related to of f and that uε is the solution of Aε uε = fε .(e.g. we can the weak form of the Laplace–Beltrami operator (see Wardet- consider ε as the grid step for example). We say that the zky’s thesis for a proper definition [64]). For example, strong approximation scheme is convergent if consistency for the cotangent operator holds for very specific meshes [66,67], but fails in general (counterexamples can be lim ||uε − u||X = 0. ε→0 found in [66,32]). Both convergence in the operator norm and weak consistency was established first by Dziuk [19] and We say that the approximation scheme is consistent if later extended to polyhedral surfaces by Hildebrandt, Polthier and Wardetzky [32]. In particular, they show an equivalence lim ||Aε v − Av||Y = 0, ε→0 between normal convergence, metric convergence, conver- for each v ∈ X [34]. gence of area and convergence of the Laplace–Beltrami op- erators in the operator norm (see Theorem 2. of [32]). They We focus here on consistency results of approximations use these results to prove weak consistency of the operator of the Laplace–Beltrami. The choice of space X and Y deter- (Theorem 4. of [32]). mines various properties regarding solution of the equation. d+ Finally, the spectrum of the mesh Laplacian converges Let M be a compact manifold embedded in R 1 with its thanks to Dey et al. [18]. As for the cotangent operator, con- topological border ∂M of class C2. In order to apply the Laplace–Beltrami operator, we require, in this paper, X to be vergence of eigenvalues has been established by Wardetzky [63], but convergence of the eigenvectors is still an open C2(∂M), the space of twice differentiable functions acting problem. on ∂M. We also require Y to be C0(∂M), the set of smooth strong consistency functions acting on ∂M. An important consequence which In all the paper, we use the term (we arises from classical analysis is the may omit “strong“) which corresponds to convergence in the ∞ (see [57] for example). This theorem states that if K is a L space (i.e. pointwise convergence). compact set, and u : K → R is a continuous (in the topological sense), then u is bounded and reaches its maxi- Measure estimations. When it comes to operator discretiza- mum and minumum in K. Therefore, as ∂M is compact and tions, we need a way to compute approximate measures on each function of C2(∂M) is continuous, our input functions the discrete surface. In a classical interpolating triangular are bounded. Their , which are continuous, are also mesh, a good approximation of the underlying smooth struc- bounded. We chose the infinity Lebesgue norm L∞ for the ture area is simply given by triangle areas whereas for digital consistence (note that as our functions are bounded, the space surfaces naive measures (such as the quadrangular face area is complete with this norm, thus a Banach space). By setting for 2D surface in 3D) give poor approximations. Although A = ∆ and Aε = ∆ε , we say that an operator is strongly con- multigrid-convergent estimators of object global volume and sistent (or pointwise convergent) whenever area/perimeter have existed for a long time [20,40], local measure estimators (length of a 1-cell, area of a 2-cell, etc) lim ||∆ε v − ∆v||L∞ =lim sup |(∆ε v)(x) − (∆v)(x)| = 0, have seen advances only in the past ten years. Parameter-free ε→0 ε→0 x∈∂M and normal estimation along 2D digital curves were for all v ∈ C2(∂M). An operator called the Mesh Laplacian established by Lachaud et al. [36,62], using properties of satisfying this property was proposed by Belkin et al. [5] for maximal digital straight segments. Coeurjolly, Lachaud and interpolating triangular meshes and later extended to point Levallois have defined a digital variant of invariants clouds [4]. Carl gave a discretization on Semi-Discrete sur- [53,52] which induces convergent estimation of the normal faces and proves (among many things) the strong consis- vector field along digital surfaces in arbitrary dimension as tency of his operator [7]. Another approach was proposed well as the whole tensor [10,11]. Cuel, Lachaud by Hildebrandt and Polthier [31] and is valid on polyhedral and Thibert use a digital Voronoi Covariance Measure to surfaces. This seems to be the closest setting to our digital show the convergence and stability of a normal estimator surfaces. Although, in our case, the projection function be- [15]. Integration of normals was used in [39] to estimate the tween the discrete surface and the underlying manifold is perimeter of digital curves or the surface area of a digital generally not bijective (see Section 5), while this is manda- surface. The fact that convergent normals implies convergent tory in their work. The strong consistency is often required measures for subsets of codimension one in digital spaces when it comes to approximate , or Willmore ener- was established by Lachaud and Thibert [38]. Consequently, gies [65]. For such problems, Hildebrandt et al. [30] derive we can estimate convergent length of 1-cells in 2D and area a strongly consistent curvature estimators. of 2-cells in 3D, even locally. Other problems require only convergence of solutions of boundary value problems (e.g. Poisson’s problems). In Outline. We provide formal definitions for various discrete this case, we can relax the requirements for input functions. operators on triangular meshes in Section 2. We detail the 4 Thomas Caissard et al. definition of the heat kernel Laplace–Beltrami operator in where ? is the Hodge-duality star operator acting on discrete Section 3 and provide hints on the convergence proof of forms (see [33]) and | · | the measure of a k-cell. As illus- Belkin et al. In Section 4 we derive formal concepts about trated in Fig. 2, | ? ewp| would be the length of the segment Gauss digitization, cubical grid and digital surface. Then in orthogonal to ewp (ewp being the 1-cell corresponding to the Section 5 we give some properties of the projection map ξ edge between vertices w and p). If we set all measures to that links the digital surface to its smooth counterpart: these one, LDEC coincides with LCOMBI. are key tools when it comes to consistency of digital oper- By fixing the dual of Γ to be the Voronoi diagram of its ators. We adapt in Section 6 our discrete vertices and by computing the measures as Euclidean lengths from the one of Belkin et al. presented in Section 3. We prove and areas of this dual complex, the DEC operator coincides the strong consistency in Section 7, using theorems from [3] exactly with the famous cotan Laplacian [58,59,17,50,23, and [38]. The main contributions of this paper are Theorem 5 43,46,49]: and its associated proof. Finally, we show empirical consis- 1  tency results and a comparison between the literature and (LCOT u)(w) := ∑ cot(αwp) 2Aw our operator in Section 8. p∈link0(w)  + cot(βwp) (u(p) − u(w)), (3)

2 Discretizations of the Laplace–Beltrami operator and where Aw is one third of the area of all incident triangles to their properties the vertex w, αwp and βwp are the angles opposing the corre- sponding edge ewp (see Fig. 2). The matrix representation of We summarize various discretizations of the LCOT , namely LCOT is given by Laplace–Beltrami operator on triangular meshes. As stated −1 in the introduction, let M be a compact manifold of LCOT := D Q, 1 dimension d + 1 with a smooth boundary. The linear with Di,i := ∑t∈St(v ) |t|, where St(i) is the set of incident 2 0 3 i operator ∆ : C (∂M) → C (∂M) defined by triangles to a vertex vi and |t| is the area of a triangle and ∆u = div(gradu) 1 Qi, j := (cot(αi j) + cot(βi j)), Qi,i := −∑Qi, j. 2 j is called the Laplace–Beltrami operator (the sign of the oper- ator is arbitrary, and one can find in the literature the alterna- As mentioned in the introduction, both LCOT and LDEC are tive definition ”−div(gradu)” for ∆u). It is a bounded linear not strongly consistent in general [67,68,32]. Yet, because operator acting between Banach spaces. of the convergence of their weak form, they suffice for many Let Γ be a combinatorial structure (a triangular mesh for geometry processing applications such as geodesic compu- instance), V(Γ ) its set of vertices and F(Γ ) its faces. Let tation [14], spectral processing [60], etc. Apart from conver- gence behavior, these operators are fast to compute, and the u : ∂M → R be a twice differentiable function on ∂M. We suppose that V(Γ ) is a sampling of M (i.e. V(Γ ) ⊂ ∂M). resulting linear operator (i.e. the matrix) is sparse. In other words, the images of the function u are perfectly Hildebrandt and Polthier in [31] proposed a strongly con- defined for all w ∈ V(Γ ). sistent discretization of the operator. The idea is to test the The first simple discretization, coming from elementary cotan operator against a family of ”r-local” functions: calculus, is the graph Laplacian or combinatorial Laplacian ϕ˜ ||vi − v j|| 3 ϕ := r,vi , ϕ˜ (v ) := max{1 − R ,0}, acting on [69]: r,vi r,vi j Γ ||ϕ˜r,vi || r for some r ∈ ∗ . Then the matrix representation of the oper- (LCOMBI u)(w) := −deg(w)u(w) + ∑ u(p), (1) R+ p∈link0(w) ator LR−LOC is L := ΦL , (4) for all w ∈ V(Γ ) where link0(w) is the set of points in V(Γ ) R−LOC COT adjacent to w and deg(w) is the degree of w in Γ . LCOMBI with Φi, j := ϕvi (v j). The operator can be viewed as a convo- is widely used in graph theory and machine learning for its lution between r-local functions and LCOT . nice properties [27]. Finally, we briefly talk about the discretization of Alexa Then, a similar approach, yet more complicated comes and Wardetzky [2]. Their operator, named LQUAD here, is from the Discrete Exterior Calculus framework [33,16]. defined on polyhedral surfaces. The trick is to properly de- Given an arbitrary embedded dual structure of Γ , the fine the adjoint operator d∗ on such structure by computing operator is written as a weighted double finite difference: inner products on 0-forms and 1-forms (see the paper for the details). The operator coincides with LCOT on triangular 1 | ? ewp| (LDEC u)(w) := ∑ (u(p) − u(w)), (2) meshes and can be seen as a generalization of it (even though | ? w| |ewp| p∈link0(w) it is not its initial purpose). Laplace–Beltrami Operator on Digital Surfaces 5

extended by Molchanov [47] on a wider class of shapes:

2 − d(x,y) e 4t p(t,x,y) ∼ d t→0 (4πt) 2 where d(·,·) corresponds to the intrinsic geodesic distance. This approximation is not robust in practice and very sensi- tive to both geodesic distance approximation and numerical errors [14]. Fortunately we know from Belkin et al. [3] that in small-time asymptotic, the geodesic distance can be ap- proximated by the Euclidean distance:

2 − ||x−y|| e 4t p(t,x,y) ∼ p˜(t,x,y) := d , t→0 (4πt) 2 which leads to the following approximated solution of the heat equation: Z g(x,t) = p˜(t,x,y)u(y)dy. (7) y∈∂M

Fig. 2 Illustration of LDEC (top), and LCOT (down) on triangular By injecting Eq.(7) in the heat equation Eq.(5) we obtain: meshes. For LCOT the area of integration Aw is one third the area of ∂ Z all triangles incident on vertex w in green. For LDEC, we represent the ∆g(x,t) = p˜(t,x,y)u(y)dy. (8) Voronoi dual structure in orange. The dual of the edge ewp is in blue. ∂t y∈∂M Using a finite difference on t, and the basic property that the 3 Heat kernel Laplace–Beltrami operator on triangular integral of the heat kernel must be 1: meshes 1Z  ∆g(x,t) = lim p˜(t,x,y)u(y)dy − u(x) (9a) t→0 t y∈∂M We detail the definition of the mesh Laplacian from [5]. Al- 1 Z though the fact that the Laplacian solves the heat equation is = lim p˜(t,x,y)(u(y) − u(x))dy. (9b) t→0 t y∈∂M not new and has been studied for quite a while in differential geometry [56], probability theory and quantum mechanics The previous equation can be seen as a convolution between (as it is an ”Euclidean” version of the Schrodinger¨ equation), differences of u and a time dependent Gaussian. Note that the the discretization comes from the work of Belkin et al. [5] derivation holds for any approximations of the heat kernel p. who defined it on triangular meshes. Studies have also been Following these derivations, the mesh Laplace operator [5] made in [14] in the context of geodesic distance approxima- on Γ (an interpolation of a 2D surface in 3D) is: 2 tion. 1 A f − ||p−w|| (LMESH u)(w) := e 4t (u(p) − u(w)), Let g : ∂M × (0,T) → be a time-dependent function t2 ∑ ∑ R 4π f ∈F(Γ ) 3 p∈V( f ) heat which solves the partial called the (10) equation: where A f is the area associated with the face f . In [5] au- ∂ thors show that LMESH converges towards the real Laplace– ∆g(x,t) = g(x,t), (5) ∂t Beltrami operator ∆ as the triangulation interpolates denser and denser the manifold ∂M. The proof involves the defini- with initial condition u = g(·,0) : ∂M → R which is the initial tion of an intermediate object called the functional Laplace temperature distribution. An exact solution is: operator that we recall in Definition 1. Z Definition 1 (Functional Laplace operator [5]) Given a p(t,x,y)u(y)dy, (6) 2 y∈∂M point x ∈ ∂M and a function u ∈ C (∂M), the functional Laplace operator is defined as follows: ∞ + where p ∈ C ( × ∂M × ∂M) is the heat kernel [56]. 2 R 1 Z ||y−x|| ? − 4t There is a wide range of studies on the behavior of p (Lh u)(x) := d e (u(y) − u(x))dy, t( t) 2 y∈∂M when t tends to zero (called small-time asymptotic of diffu- 4π ∗ sion process). Early work includes the famous Varadhan for- where th is a function in R+ tending to zero as h tends to mula [61] on closed manifolds with or without borders later zero. 6 Thomas Caissard et al.

Later, we will need Theorem 1 in our own convergence Now we construct the cubical grid associated to a digital proof. It shows that the functional approximation converges set Z. We construct such set by Cartesian product of seg- toward the real Laplace operator on manifolds in small-time ments of dimension one as in [38]. More precisely, we as- h d+1 asymptotic. sign coordinates in ( 2 Z) to each cell of the space. For h each t ∈ 2 Z, we associate the set Ih(t) such that if t ∈ hZ Theorem 1 (Functional convergence, Lemma 5. of [3]) h h 2 then Ih(t) := [t − 2 ;t + 2 ] otherwise Ih(t) := {t}. Now, if Given a point x ∈ ∂M, a function u ∈ C (∂M) : h d+1 z ∈ ( 2 Z) then Ih(z) := Ih(z1)×···×Ih(zd+1), where zi is ? the i-th coordinate of z. The primal cubical grid is defined as lim(Lh u)(x) = (∆u)(x). h→0 follows: Definition 4 (Primal cubical grid) The set d+1 Fh := {Ih(z)} h d+1 tiles the Euclidean space R with In [3], Belkin et al. show that for a particular family of trian- z∈( 2 Z) gulations interpolating the continuous manifold, their opera- hypercubes and its faces. It is called the primal cubical grid ? at step h. Elements of are called cells. The set of tor LMESH tends toward Lh hence toward the real Laplace Fh d operator. elements of dimension d is denoted by Fh. As mentioned in the definition, a cubical grid tiles the entire space: for example 2 is the set of squares centered on the 4 Digital surfaces and digital curves Fh digital points of the grid (in green in Fig. 3). Therefore, when we want to select all the elements of a boundary (for example Definitions of digital structures can be found in [38,35]. a digital curve in red on the right of Fig. 3), we take the Topological aspects are described in [28]. We consider as intersection between the cubical grid d and the h-boundary before a d + 1-manifold with a smooth rectifiable boundary Fh ∂ M (or ∂Q [Z] when we have an arbitrary set of digital embedded in d+1. We recall the definition of the Gauss h h R points). Digitization process, which makes the link between M and its digital approximation:

5 Relationship between ∂M and ∂hM Definition 2 (Gauss digitization) Let h > 0 be the sam- pling grid step. The Gauss Digitization of a compact shape We summarize properties described in [38]. Associated d+1 d+1 M ⊂ R is defined as Dh(M) := M ∩ (hZ) where d is proofs can be found in [37,38]. Topological or geometric the dimension. inference regarding ∂hM can be studied using a functional approach of the distance function to a compact set A and the The digitization process has therefore a very simple related projection map. If A ⊂ d+1, the distance function scheme: it considers the discrete points of the infinite R δ is the function on d+1 such that regular grid with grid step h and keeps only the ones inside A R the shape (see Fig.3). We call Dh(M) (or Z when we want an δA(x) := inf{||x − a|| : a ∈ A}. arbitrary object not derived from a Gauss digitization) a R d+ The R-offset of A, denoted by A is the set of points digital set. It is a subset of Z 1 scaled by h by definition. In the next sections, we use two extra objects to represent the whose distance to A is less than R. The medial axis d+1 boundary of a digital approximation: the h-boundary (Fig. 3, Med(A) ⊂ R of A is the set of points with at least two middle) and its decomposition into cells of dimension d closest points on A. The reach [21] of A, denoted by (Fig. 3, right). Let us first define the boundary of a digital reach(A), is d+1 set Z: for every point z in (hZ) (called digital points), we inf{δA(y) : y ∈ Med(A)}. denote the d + 1-dimensional axis-aligned closed cube h Definition 5 (The projection map) The projection map centered on z as Qz and refer to it as an h-cube (their side length is h). We define then the h-cube embedding of a onto a compact set A is the map h digital set Z as Qh[Z] := ∪ Qz . d+1 z∈Z ξA : R \ Med(A) → A d+1 Definition 3( h-boundary) The h-boundary of M, denoted that maps any points x of R \Med(A) to its unique closest A by ∂hM, is the topological boundary of the h-cube embedding point on . of the Gauss digitization of M: We denote by ξ := ξ∂M the projection onto ∂M. First,  [  Theorem 2 states the Hausdorff stability between ∂hM and ∂ M := ∂ Qh . h z ∂M: the distance between those two is bounded by the grid z∈Dh(M) step h. In other words, given a point y ∈ ∂hM√, there always d+1 This set is represented in blue in Fig. 3. exists a point x ∈ ∂M within a ball of radius 2 h. Laplace–Beltrami Operator on Digital Surfaces 7

Fig. 3 Illustration of the notations used in this paper. A smooth shape M, its Gauss digitization Dh(M), its h-cube embedding Qh[Dh(M)] in yellow h h and its h-boundary ∂hM. The cubical grid F2 is displayed in green on the right, and also in the related ”cubical border” F1 ∩ ∂hM in red. The topological border of the h-cube embedding is used to push integral from ∂M in the continuous setting to the discrete setting. Then, the cubical grid is used to split the integral on elements of various dimensions d, thus approximating the continuous sum by a discrete one.

Theorem 2 (Theorem 1 of [38]) Let M be a compact do- where r˙ is the centroid of the d-cell r and µ(r) = |nˆ(r˙)·n(r˙)| d+1 main of R such that the reach of ∂M is greater√ than the estimated area of a surfel r with n the trivial normal to R. Then, for any digitization step 0 < h < 2R/ d + 1, the the d-cell r. Hausdorff√ distance between sets ∂M and ∂hM is less than d + 1h/2. More precisely: The continuous sum is approximated by a discrete one over elements of dimension d. Given a cell r, we value the func- √ tion on its centroid, and use an area approximation µ given  d + 1 ||x − y|| ≤ h by the scalar product between an estimated normal of r and  2 ∀x ∈ ∂M,∃y ∈ ∂hM, √ the elementary normal orthogonal to r. This estimated area is  d + 1 and y ∈ n(x, h), called the measure of a cell; it is the area of the projected cell 2 r onto the tangent plane induced by the estimated normal nˆ √ d + 1 (see Fig. 4), which has been used for a long time [20,40]. Nor- ∀y ∈ ∂ M,||y − ξ(y)|| ≤ h. h 2 mal vectors are estimated using the estimator presented in [11,41], which has the multigrid convergence property. Note where n(x,a) is the segment of length 2a centered on x and that summing this measure for each cell of the surface leads aligned with the normal vector to ∂M at x. to an estimation of the global area of the shape boundary, When studying the topology of ∂hM through ξ, it has which itself has a multigrid convergence property [38]. This been shown that this function is not always bijective: more precisely, it is surjective everywhere, but non-injective on some subset of ∂hM:

mult(∂M) := {x ∈ ∂M,s.t. ∃y1,y2 ∈ ∂hM,y1 6= y2,

ξ(y1) = ξ(y2) = x}.

Fortunately, we know that the size of multh(∂M) is bounded by a quantity in O(h) (see Theorem 3. of [38]). We define the digital surface integration as follows: Definition 6 (Digital surface integration) Let Z be a digi- d+ tal set and h the grid step. Let f : R 1 → R be an integrable function and nˆ be a digital normal estimator. We define the digital surface integral by Fig. 4 Black dots represent the pointels, black segments are the linels. d DIh( f ,Z,nˆ) = ∑ h f (r˙)µ(r), The measure µ(s) (in orange) of a surfel s (in green) is the area of the d projection of s onto the tangent plane induced by the estimated normal. r∈Fh ∩∂Qh[Z] 8 Thomas Caissard et al. cell measure is a key ingredient of the digital formalization of the integral leading to both theoretical and experimental multigrid convergence. When taking Z to be the Gauss digitization of a compact shape with positive reach in Definition 6, theoretical conver- gence is given by Theorem 3. Theorem 3 (Theorem 4. of [38]) Let M be a compact do- main whose boundary has positive reach R. For h ≤ √ R , d+1 the digital integral is multigrid convergent toward the inte- gral over ∂M. More precisely, for any integrable function d+ f : R 1 → R, one gets

Z

f (x)dx − DIh( f ,Dh(M),nˆ) ∂M Fig. 5 Illustration of the tube definition of u˜ on ∂M. Function u˜ is equal 3  √ to u when x ∈ ∂M (the black curve on the figure), and is equal to u ◦ ξ d+3 2 √ √ ≤ 2 (d + 1) Area(∂M) Lip( f ) d + 1 h d+ d+1 1 2 h when x lies in the 2 h-offset of ∂M (namely (∂M) , that is the  interior and the boundary of the tube, represented in yellow and blue + || f ||∞ · ||nˆ(c˙) − n(c˙)||est , on the figure), and has value 0 everywhere else. where || f || := max d+1 | f (x)| and ∞ x∈R Lip( f ) := maxx6=y | f (x) − f (y)|/||x − y||2. where ξ is the map defined as before and δ∂M is the distance function. An illustration of this definition can be found in It involves the convergence speed of the normal estimator, Fig. 5. but also bounds on the input function related to its || · ||∞ norm and its Lipschitz constant. Note that in our case, the Applying the discretization scheme defined in positive reach is a consequence of the compactness of M Definition 6 to Eq.(9b), we derive a definition for our digital and the smoothness of ∂M. Steps for proving convergence Laplace–Beltrami operator in Definition 8. Motivation for involve for example showing that the integral of a quantity choosing Eq.(9b) over Eq.(9a) is theoretical: the continuous over multh(∂M) is negligible and then computing bounds on Lipschitz property of u (which is inherited from the the remaining integral using various properties of the func- bounded property) will be applied to |u(y) − u(x)| tion ξ to link ∂M and ∂hM. We now carry on with the formal in our proof. definition of our digital Laplace operator. Definition 8 (Digital Laplace–Beltrami operator) Let Z be a digital set and h the grid step. Let f be some function 6 Heat kernel based Laplace–Beltrami operator on defined at least in ∂hM. The digital Laplace–Beltrami opera- digital surfaces tor is:

2 1 − ||r˙−s˙|| We adapt the formulation of Belkin et al. on digital surfaces. 4th (Lh f )(s) := d ∑ e [ f (r˙) − f (s˙)]µ(r), In the continuous heat kernel formulation, the parameter t th(4πth) 2 d r∈Fh ∩∂Qh[Z] must tend to zero. On digital surfaces, we set t as a func- tion of the grid step h, denoted th, that tends to zero as h where r˙ (resp. s˙) is the centroid of the surfel r (resp. s), µ(r) tends to zero. Section 8 clarifies such function. As stated in is equal to the between an estimated normal and Theorem 2, the h-boundary ∂hM is an O(h)-Hausdorff ap- the trivial normal orthogonal to the surfel s and th is a func- proximation of ∂M (whereas the triangulated surface Γ is a tion of h tending to zero as h tends to zero, which will be sampling of ∂M which is a stronger assumption). As a con- specified later. sequence, we need to map the smooth function u defined on ∂M to ∂hM: 7 Strong consistency of the Digital Laplace–Beltrami Definition 7 (Tube extension of u) Given a smooth func- d+ operator tion u on ∂M, we define the extensionu ˜ of u to R 1 as  α u(x) if x ∈ ∂M In the sequel, th is defined as h , for some α > 0. The posi-  √ tiveness of α is given by Theorem 1 as t must tend toward u x 7→ d+1 d+1 h ˜ : (u ◦ ξ)(x) if x ∈ R \ ∂M and δ∂M(x) ≤ 2 h  zero as h tends toward zero. We also assume that ||nˆ(c˙) − 0 otherwise n(c˙)||est , the error on the normal vector estimation, to be in Laplace–Beltrami Operator on Digital Surfaces 9

O(hβ ). The speed of convergence (i.e. the value of β) de- Proof Using Definition 1, we have: pends on the estimator [12]. For example the convergence ? ? speed of the integral invariant normal estimator [11,41] is (Lh u)(ξ(s˙)) − (Lh u˜)(s˙) 2 3 O(h ). 2 1 Z − ||y−ξ(s˙)|| We prove the strong consistency of our operator when 4th = d e [u(y) − u(ξ(s˙))] y∈∂M considering the digital set Z to be Dh(M), the Gauss dis- th(4πth) 2 d cretization of M. Let s be a surfel in ∩ M. We show ||y−s˙||2 Fh ∂h Z − 4th that − e [u˜(y) − u˜(s˙)] . y∈∂M

(∆u)(ξ(s˙)) − (Lhu˜)(s˙) (11) Since [u(y) − u(ξ(s˙))] = [u˜(y) − u˜(s˙)], we factorize by [u(y) − u(ξ(s˙))] to get: tends toward zero as the grid step h tends toward zero. First, ? ? let us use the triangle inequality in Eq.(11) to highlight the |(Lh u)(ξ(s˙)) − (Lh u˜)(s˙)| 2 2 ! important steps of the proof: 1 Z − ||y−s˙|| − ||y−ξ(s˙)|| = e 4th − e 4th [u(y) − u( (s˙))]dy . d ξ th(4πth) 2 y∈∂M

(13) (∆u)(ξ(s˙)) − (Lhu˜)(s˙) ≤ ? As the infinity norm of the gradient of u is bounded (from (∆u)(ξ(s˙)) − (Lh u)(ξ(s˙)) (Q1) the extreme value theorem), we know that u is Lipschitz con-

? ? tinuous with constant equals to ||∇u|| . Therefore Eq.(13) + (Lh u)(ξ(s˙)) − (Lh u˜)(s˙) (Q2) ∞ becomes: ? + (Lh u˜)(s˙) − (Lhu˜)(s˙) (Q3) ? ? |(Lh u)(ξ(s˙)) − (Lh u˜)(s˙)| 2 2 ! 1 Z − ||y−s˙|| − ||y−ξ(s˙)|| The main contribution of this article is stated in both = e 4th − e 4th [u(y) − u( (s˙))]dy d ξ Lemma 1 and Lemma 2. Lemma 1 from Section 7.1 gives th(4πth) 2 y∈∂M 2 2 a bound on (Q2). Lemma 2 from Section 7.2 gives a bound 1 Z − ||y−s˙|| − ||y−ξ(s˙)|| ≤ e 4th − e 4th · |u(y) − u(ξ(s˙))|dy on (Q3) and is a combination of Lemma 3 and Theorem 3. d th(4πth) 2 y∈∂M The consistency of (Q1) is given by Theorem 1. The overall ||y−s˙||2 ||y−ξ(s˙)||2 ||∇u||∞ Z − − ≤ e 4th − e 4th · ||y − (s˙)||dy consistency is given in Section 7.3 through Theorem 5. We d ξ do not provide a convergence speed for the entire result as th(4πth) 2 y∈∂M the convergence speed of (Q1) is unknown (Theorem 1 just (14) indicates convergence). 2 2 − ||y−s˙|| − ||y−ξ(s˙)|| We set b := e 4th −e 4th and bound |b|. As b can be either negative or positive, we first derive a negative minor bound and a positive upper bound on it and conclude using 7.1 Bound on (Q2) Lemma 3 in the appendix. d 2 Let us first find the upper bound. We use the squared Lemma 1 Let s ∈ Fh ∩ ∂hM, a function u ∈ C (∂M) and its α 2 triangle inequality in (s˙,ξ(s˙),y) (see Fig. 6): extension u˜ from Definition 7. For th = h , 0 < α ≤ 2+d and h ≤ h with h the minimum between Diam(∂M), max max ||y − s˙||2 ≥ ||y − ξ(s˙)||2 − ||s˙ − ξ(s˙)||2 − 2||y − s˙||||s˙ − ξ(s˙)||. K3(√d,α,Diam(∂M)) (see Eq.(15) for an explicit value) and R/ d + 1, we have Using the fact that ||y − s˙|| ≤ ||y − ξ(s˙)|| + ||s˙ − ξ(s˙)|| we have: ? ? |(Lh u)(ξ(s˙)) − (Lh u˜)(s˙)| ||y − s˙||2 h 1− (1+ d ) 2− 3+d i ≤ Area(∂M)||∇u|| K (d)h α 2 + K (d)h α 2 ∞ 1 2 ≥ ||y − ξ(s˙)||2 − ||s˙ − ξ(s˙)||2 − 2(||y − ξ(s˙)|| + ||s˙ − ξ(s˙)||)||s˙ − ξ(s˙)|| = ||y − ξ(s˙)||2 − 3||s˙ − ξ(s˙)||2 − 2||y − ξ(s˙)||||s˙ − ξ(s˙)||. with Then we apply the Hausdorff property of M with respect √ ∂h d + 1 3(d + 1) to ∂M to the term ||s˙ − ξ(s˙)|| (Theorem 2): K1(d) := and K2(d) := . d d+ 5 √ d d−1e 2 2 e 2 2 π 2 π 3(d + 1) √ ||y − s˙||2 ≥ ||y − ξ(s˙)||2 − h2 − ||y − ξ(s˙)|| d + 1h. 4 10 Thomas Caissard et al.

−x Next we divide by 4th, apply the function e to the inequal- We see that max{|a|,c} = c and using Lemma 3: ity 2 2 − ||y−s˙|| − ||y−ξ(s˙)|| |b| = e 4th − e 4th 2 2 √ − ||y−s˙|| − ||y−ξ(s˙)|| 3(d+1) h2+ ||y−ξ(s˙)|| d+1 h 4th 4th 16th 4th √ e ≤ e e ||y−ξ(s˙)||2   − 3(d + 1) 2 ||y − ξ(s˙)|| d + 1 ≤ e 4th h + h . 2 8t 2t − ||y−ξ(s˙)|| h h and subtract e 4th on each side: (16) √ ||y−ξ(s˙)||2  3(d+1) ||y−ξ(s˙)|| d+1  − h2+ h Injecting Eq.(16) in Eq.(14) we have b ≤ e 4th e 16th 4th − 1 .

? ? (Lh u)(ξ(s˙)) − (Lh u˜)(s˙) x/2 For 0 ≤ x ≤ 2.51286 the inequality e − 1 ≤ x is true (see Z ||y−ξ(s˙)||2 ||∇u||∞ 3(d + 1) 2 − ≤ · h ||y − ξ(s˙)||e 4th dy Lemma 5 in the appendix). We apply it to the last equation: d t th(4πth) 2 8 h y∈∂M √ √ 2 ||y−ξ(s˙)||2   || u|| d + Z ||y−ξ(s˙)|| − 3(d + 1) 2 ||y − ξ(s˙)|| d + 1 ∇ ∞ 1 2 − 4t b ≤ e 4th h + h =: c. + · h ||y − ξ(s˙)|| e h dy d t 8th 2th th(4πth) 2 2 h y∈∂M Z ||y−ξ(s˙)||2 3(d + 1)||∇u||∞ 2 ||y − ξ(s˙)|| − The bound c is valid when√ 0 ≤ x ≤ 2.51286. Replacing x = h e 4th dy 3(d+1) ||y−ξ(s˙)|| d+1 d t2 by h2−α + h1−α and supposing that h ≤ 8(4πth) 2 y∈∂M h 8 2 √ 2 ||y−ξ(s˙)||2 Diam(∂M) (which is reasonable in our context) we have: ||∇u||∞ d + 1 Z ||y − ξ(s˙)|| − + h e 4th dy √ d 2 2(4πth) 2 y∈∂M th 3(d + 1) 2−α ||y − ξ(s˙)|| d + 1 1−α h + h ≤ 2.51286 2 8 2 √ To bound the first integral, we use the inequality xe−x ≤ 3(d + 1) Diam(∂M) d + 1 √ ||y−ξ(s˙)|| ⇐= h2−α + h1−α ≤ 2.51286 1/ 2e for all x ∈ R. Putting x = √ we have 8 2 2 th √ √ 3(d + 1) d + 1 2 ⇐= h2−α + ≤ 2.51286 ||y − ξ(s˙)|| − ||y−ξ(s˙)|| 2 e 4th ≤ . 8 2 2 √ 3 √ th 2 3.00086 − log(3(d + 1) + 4 d + 1)  e ·th ⇐= h ≤ exp ) := K3(d,α). 2 − 2 α For the second one, we know that for all x ∈ , x2e−x ≤ 1/e. (15) R Putting x = ||y−√ξ(s˙)|| we have 2 th The next step is to find a negative minor bound on b. We 2 2 ||y − ξ(s˙)|| − ||y−ξ(s˙)|| 4 use a triangle inequality in (s˙,ξ(s˙),y) (see Fig. 6) and again 4th 2 e ≤ . t e ·th the Hausdorff property of ∂hM: h Continuing: ||y − s˙||2 ≤ ||y − ξ(s˙)||2 + ||s˙ − ξ(s˙)||2 + 2||y − ξ(s˙)||||s˙ − ξ(s˙)|| |( ?u)( (s˙)) − ( ?u)(s˙)| d + 1 √ Lh ξ Lh ˜ ≤ ||y − ξ(s˙)||2 + h2 + ||y − ξ(s˙)|| d + 1h.  √ √  4 3 2(d + 1)||∇u|| h2 2||∇u|| d + 1 h Z ≤ ∞ · + ∞ dy  √ d 3+d d 1+ d  8 e(4π) 2 2 e(4π) 2 2 y∈∂M Using the same derivation as for the upper bound we have th th  √ √  2 2 √ 3 2(d + 1)||∇u||∞ h 2||∇u||∞ d + 1 h ||y−ξ(s˙)||  d+1 2 ||y−ξ(s˙)|| d+1  = · + Area(∂M). − 4t − 16t h − 4t h  √ d 3+d d 1+ d  b ≥ e h e h h − 1 =: a. 8 e(4π) 2 2 e(4π) 2 2 th th α We replace th by h : Using Lemma 3 we have |b| ≤ max{|a|,c}. We now bound ? ? the absolute value of a: |(Lh u)(ξ(s˙)) − (Lh u˜)(s˙)| " √ √ 3 2(d + 1)||∇u||∞ 2−α 3+d 2 ||y− (˙)|| d+ ≤ Area(∂M) · h 2 − ||y−ξ(s˙)|| − d+1 h2− ξ s 1 h √ d |a| = e 4th e 16th 4th − 1 8 e(4π) 2 √ # √ 2||∇u||∞ d + 1 1−α(1+ d ) ||y−ξ(s˙)||2  ||y−ξ(s˙)|| d+1  + h 2 − − d+1 h2− h d = e 4th 1 − e 16th 4th . e(4π) 2 " √ # 3 · (d + 1) 3+d d + 1 d 2−α 2 1−α(1+ 2 ) = Area(∂M)||∇u||∞ 5 √ d h + d h . d+ d− For 0 ≤ x, 1 − e−x ≤ x holds which leads to 2 2 eπ 2 d 1eπ 2 √ The convergence holds when h’s exponents are positive, that ||y−ξ(s˙)||2   − d + 1 2 ||y − ξ(s˙)|| d + 1 3+d d |a| ≤ e 4th h + h . is 2−α 2 > 0 and 1−α(1+ 2 ) > 0. Simple analysis leads 16th 4th to α ≤ 2/(2 + d). ut Laplace–Beltrami Operator on Digital Surfaces 11

h The challenge now is to carefully bound from above Lip(gs˙ ) h and ||gs˙ ||∞, which depends on h. We first show an upper bound on Lip(u˜) using properties of ξ in Section 7.2.1. Next, h h we show bounds on Lip(gs˙ ) and ||gs˙ ||∞ within the tube exten- sion of ∂M in Section 7.2.2. Finally, by using the definition h d+1 of gs˙ we extend the two previous bounds to R which proves Lemma 2.

7.2.1 Bound on Lip(u)˜ Fig. 6 Illustration of the projection function ξ. Surfel centroids s˙ (in yellow) are mapped using ξ to the blue dots. The proof of Lemma 1 As u˜ is defined to be the composition between u ∈ C2(∂M) lies in comparing ||y − s˙|| and ||y − ξ(s˙)||. We use triangle inequalities and the projection function ξ, we state first Theorem 4 in (s˙,ξ(s˙),y) for the proof. showing a bound on the Lipschitz constant associated to ξ. Theorem 4 (Proposition 1 of [38] and theorem 4.8 of 7.2 Bound on (Q3) [21]) Let A be a compact set with positive reach. Then for every p ∈ A and every ι ∈ [0,1[, the projection ξA is This section proves the following lemma: 1 1−ι -Lipschitz in the ball centered on p with radius Lemma 2 Let the normal estimator convergence√ speed be in ι × reach(A). β α O(h ) and let th = h . For h ≤ h0 = R/ d + 1, Lh is strongly ? consistent with Lh if  2 2β  0 < α < min , d + 2 d + 1 with a convergence speed in

1− ( d +1) − 1+d C h α 2 + O(hβ α 2 ), (u) where To find an upper bound on Lip ˜ we bound the gradient of u˜. To do so, we need u˜ to be differentiable. 2 48(d + 1) Unfortunately, of u˜ are defined everywhere C := d Area(∂M)||∇u||∞. π 2 except on the boundary of the tube extension of ∂M.

Therefore, we restrict for now the analysis within√ d+1 h We only explicit the constant for the first term of the conver- the tube extension (i.e. the offset) T := (∂M) 2 gence as the second term is related to an arbitrary normal (see Fig. 5). We write for an arbitrary function f h d+1 Lip f := maxx,y∈T ,x6=y | f (x) − f (y)|/||x − y||2. We know estimator. We introduce the function gs˙ : R → R defined T as that the Lipschitz constant is bounded by the maximal (vector) norm of the gradient: ||x−s˙||2 d+1 h 1 − ∀x ∈ ,g (x) = e 4th (u(x) − u(s˙)). R s˙ : d ˜ ˜ (17) n o n o t (4πt ) 2 h h LipT (u˜) ≤ max (∇u˜)(x) = max (∇u ◦ ξ)(x) . x∈T ∞ x∈T ∞ Lemma 2 consists in showing the convergence of the h digital approximation of the integral of gs˙ over ∂M. More Using the property of the gradient, we have: precisely, we want: n T o Lip (u˜) ≤ max (Jξ(x)) (∇u)(ξ(x)) , (19) Z T x∈ ∞ h h T lim gs˙ (x)dx − ∑ gs˙ (r˙)µ(r) = 0. h→0 x∈∂M r∈ d ∩ M Fh ∂h where Jξ(x) is the Jacobian of ξ at point x and (∇u)(ξ(x)) Using Theorem 3 we have is the application√ of the gradient of u to the point ξ(x). For h ≤ R/ d + 1 (with R the reach of ∂M) we know from The- Z h h orem 4 that ξ is 2-Lipschitz in a ball of radius R/2 (here we gs˙ (x)dx − ∑ gs˙ (r˙)µ(r) x∈∂M d r∈Fh ∩∂hM chose ι to be 1/2 which gives an upper bound on h, and the √ d+3 3  h h  2-Lipschitz property). Therefore, the transposed Jacobian is ≤ 2 (d + 1) 2 Area(∂M) Lip(g ) d + 1 h + ||g || O(hβ ) . s˙ s˙ ∞ bounded by 2 (as each of the derivatives are bounded) which (18) leads to: 12 Thomas Caissard et al.

Using elementary calculus, we know that n o Lip (u˜) ≤ 2 max (∇u)(ξ(x)) (20) ||x−s˙||2 ||x−s˙||2 T x∈ ∞ − ||x − s˙|| − T ∇e 4th = − e 4th . 2th Using the fact that ξ is surjective everywhere, Eq.(20) be- comes Therefore we have n o LipT (u˜) ≤ 2 max (∇u)(ξ(x)) = 2k∇uk∞. (21) ||x−s˙||2 ||x−s˙||2 x∈T ∞ ∇u˜(x) − ||x − s˙|| [u˜(x) − u˜(s˙)] − h 4th 4th ∇gs˙ (x) = d e − d e . √ t (4πt ) 2 2t2(4πt ) 2 d+1 h h h h h Indeed, as every points of ∂M has a pre-image in (∂M) 2 with respect to the function ξ the infinity norm reaches the We use the triangle inequality to continue: same value.

kx−s˙k2 h k∇u˜k − h h ∇g ≤ T e 4th 7.2.2 Bounds for LipT (gs˙ ) and ||gs˙ ||T s˙ T d th(4πth) 2 ( 2 ) We use the following shorthand notation for this section |u˜(x) − u˜(s˙)|kx − s˙k − ||x−s˙|| 2 4th + max d e n o x∈T 2t2(4πt ) 2 ||∇u˜|| := max (∇u˜)(x) . h h T ∞ 2 x∈T ||∇u˜|| − ||x−s˙|| T 4th ≤ d e We show the following Lemma: th(4πth) 2 √ ( 2 2 ) Lemma 3 For h ≤ h = R/ d + 1 we have ||x − s˙|| − ||x−s˙|| 0 4th + LipT (u˜) · max d e . x∈T 2t2(4πt ) 2 2 · ||∇u||∞ 1+d 6 · ||∇u||∞ d h h h −α 2 h −α(1+ 2 ) ||gs˙ ||T ≤ d · h and LipT (gs˙ ) ≤ d · h . (4π) 2 (4π) 2 As first mentioned in Lemma 1, elementary calculus shows −y2 that ∀y ∈ R, y2e ≤ 1 (with use here a weaker bound for factorization purpose). Taking y to be ||x√−s˙|| we have Proof If we consider Eq.(17) and by using the Lipschitz 2 th property ofu ˜ we have 2 ||x−s˙||2  2  ||x − s˙|| − 4t 4 − ||x−s˙|| e h ≤ (22) 4th 2 h e th th ||gs˙ ||T = max · (u˜(x) − u˜(s˙)) x∈  d  T th(4πth) 2 h which gives the final bound on ||∇gs˙ ||T :  2  − ||x−s˙|| e 4th ≤ max · Lip (u˜) · ||x − s˙||2. h ||∇u˜||T x∈  d T  ∇g ≤ T th(4πth) 2 s˙ T d th(4πth) 2

( 2 ||x−s˙||2 ) −y2 ||x−s˙|| ||x − s˙|| − We know that for all y ∈ , ye ≤ 1/2. Putting y = √ + Lip (u˜) · max e 4th R 2 th T d x∈T 2 2 we have 2th (4πth) 2 ||∇u˜||T 2LipT (u˜) ||x − s˙|| − ||x−s˙|| 1 ≤ + (Using Eq.(22)) 4th √ d d e ≤ . th(4πth) 2 th(4πth) 2 th th ||∇u˜||T 4||∇u||∞ α ≤ + (Using Eq.(21)). Using Eq.(21) and then replacing th by h gives d d th(4πth) 2 th(4πth) 2 h 2 · ||∇u||∞ ||gs˙ ||T ≤ 1 d Combining Eq.(19) and Eq.(21) we have ||∇u˜||T ≤ 2||∇u||∞. t 2 (4πt ) 2 h h Injecting this quantity into the last equation gives: 2 · ||∇u||∞ 1+d −α 2 = d · h . (4π) 2 2||∇u||∞ 4||∇u||∞ ∇gh ≤ + s˙ T d d h h th(4πth) 2 th(4πth) 2 Next, since LipT (gs˙ ) ≤ ||∇gs˙ ||T we first compute the h 6||∇u||∞ d derivative of g and then its upper bound. We have: −α(1+ 2 ) α s˙ = d · h (putting th = h ), (4π) 2 2 2 ∇u˜(x) − ||x−s˙|| u˜(x) − u˜(s˙) − ||x−s˙|| h 4th 4th ∇gs˙ (x) = d e + d ∇e . th(4πth) 2 th(4πth) 2 which proves Lemma 3. ut Laplace–Beltrami Operator on Digital Surfaces 13

7.2.3 Conclusion on (Q3) convergence Combining these conditions on α, Theorem 1 from Belkin et al. for the convergence of Eq.(Q1), Lemma 1 for the bound Injecting Lemma 3 into Eq.(18) we have: on Eq.(Q2) and Lemma 2 for the bound on Eq.(Q3), the the- orem holds. Hence our digital operator is strongly consistent Z h h with the smooth Laplace–Beltrami operator on manifolds. gs˙ (x)dx − ∑ gs˙ (r˙)µ(r) x∈∂M d r∈Fh ∩∂hM The upper bound h0 for h is given by Lemma 1 and Lemma 2. √ d+3 3  h h β  ut ≤ 2 (d + 1) 2 Area(∂M) Lip(gs˙ ) d + 1 h + ||gs˙ ||∞O(h ) √ d+3 3 6 · ||∇u||∞ − (1+ d ) ≤ 2 (d + 1) 2 Area(∂M) · h α 2 d + 1 h d 8 Experiments (4π) 2 ! 2 · ||∇u||∞ 1+d −α 2 β We only investigate in this section the empirical consistency + d · h O(h ) (4π) 2 property under the l∞ norm. Associated geometry processing 2 applications can be found in [6]. We consider a unit ball 3 48(d + 1) 1− ( d +1) − 1+d S = Area(∂M) ||∇u|| h α 2 + O(hβ α 2 ). d ∞ and three different smooth functions u : ∂ 3 → , namely z, π 2 S R x2 and ex (see. Fig. 8). Let θ be the azimuth angle, and φ the This result can be extended to the whole space (i.e. replacing polar angle. The spherical Laplacian is then: T by ∞ in the norm) using the fact that Theorem 3 only 2   needs bounded Lipschitz and the l∞ error in T (as all proofs 1 ∂ u 1 ∂ ∂u ∆ 3 u(θ,φ) = + sinφ . (23) rely on bounds computed within this tube because of the ∂S sin2 φ ∂θ 2 sinφ ∂φ ∂φ Hausdorff property of ∂hM). Therefore we write: 3 We compute the Gauss digitization Dh(S ) of the ball for Z decreasing grid steps h. We take a ball of Euclidean radius gh(x)dx − gh(˙) ( ) s˙ ∑ s˙ r µ r 3 x∈∂M d one. For h = 0.1, the digital surface ∂hS has 1902 surfels, r∈F ∩∂hM h whereas for h = 0.01 it contains 188502 surfels. Since the 2 48(d + 1) d 1+d 3 1−α( 2 +1) β−α 2 elements of ∂h do not interpolate the , u is extended ≤ d Area(∂M) ||∇u||∞ h + O(h ). S π 2 to u˜ as defined in Definition 7. We use the normal vector which proves Lemma 2. estimator described in [11] to compute µ the measure of the surfels. All tests are made using the DGtal library [1] written in C++. We first investigate convergence speed for various α 7.3 Overall convergence result values. Then we compare our operator with ones adapted to digital surface. d Theorem 5 Let s be a surfel in Fh ∩ ∂hM, a function u ∈ C2(∂M) and its extension u˜ from Definition 7. Let α th = h and let the convergence speed of the normal 8.1 Consistency results for various α β estimator be in√O(h ). Let h0 be the minimum between Diam(∂M), R/ d + 1 and K3(d,α,Diam(∂M)) (where K3 We evaluate the consistency property of our is a constant defined in Eq.(15)). For 0 < h ≤ h0 we have Laplace–Beltrami operator. We display graphs in Fig. 8 for 2 1 various parameters th: h (in red ), h 3 (in blue ), h 3 lim (∆u)(ξ(s˙)) − (Lhu˜)(s˙) = 0 1 1 h→0 (in green ), h 6 (in purple ) and h 12 (in orange   ). Convergence speeds are summed up in Table.1. Our if 0 < α < min 2 , 2β . d+2 d+1 operator Lh can be seen as a convolution√ between a Gaussian of standard deviation σ = 2th and differences of functions. As the discretization becomes finer, the standard Proof We remind the reader that the condition α > 0 is given deviation σ of the Gaussian in the convolution decreases by Theorem 1 as th must tends toward zero as h tends toward and the number of points within it increases. zero. Then Lemma 1 gives the following condition for the We observe that, as the exponent α of th increases, the l∞- consistency: error decreases. Moreover, for both x2 and exp(x) functions, 2 the speed of convergence increases alongside the value of α < , α. Although theoretical convergence speed is achieved for d + 2 1 th = h 3 , the empirical behavior is the opposite of the one and Lemma 2 the same condition plus given by Lemma 1 and Lemma 2 where as α tends toward 0 2β the convergence speed increases. We strongly think that this α < . d + 1 difference between the theory and the application is related 14 Thomas Caissard et al.

Fig. 7 Discrete settings used for the comparison between various Laplace–Beltrami operators. The unit ball S3 is discretized using the Gauss 3 digitization process. The left image is the digital surface ∂hS where we compute Lh and LCOMBI . The image in the center is the marching- cubes associated with the digital surface where we compute LMESH , LR−LOC and LCOT . Finally, the right image represents the projection of the 3 P P P marching-cubes on ∂S where LMESH , LR−LOC and LCOT are computed.

with Theorem 1 where the theoretical convergence speed is Table 1 Summary of convergence speed for various values of th and not explicit. Furthermore, the sphere is a very specific shape different functions u˜. The model hγ has been fitted to the maximal error and may also bias the result. in the Laplacian evaluation (the same data set is used in Fig. 8). The table shows the values of the model parameter γ with respect to the input parameter α and the function u˜. The higher the values, the speeder the convergence. 8.2 Comparison against other discretizations α u˜(x,y,z) = z u˜(x,y,z) = x2 u˜(x,y,z) = ex 1 0.9846 1.0594 0.985 We compare in Fig. 9 convergence speeds of various opera- 2 3 1.1039 0.8147 0.8630 tors. We compute LCOMBI (from Eq.(1)), LQUAD and Lh di- 1 3 3 1.0993 0.3468 0.3612 rectly on ∂hS ; LCOT (from Eq.(3)), LMESH (from Eq.(10)) 1 6 1.0621 0.1732 0.1732 and LR−LOC (from Eq.(4)) on the associated marching cubes 1 1.0611 0.0861 0.0852 triangulation. Since the vertices of this mesh coincide with 12 3 the centroids of the surfels of ∂hS , all these operators are evaluated at the same points. The parameter t for LMESH should depend on the sampling of the triangulated mesh [5]. In our case, as the mesh comes from our digital surface, we 1 use the parameter th from Lh in LMESH and chose th = h 3 . 1 As for the parameter r for LR−LOC we set it to be h 3 as ad- vised by the authors. projection, even though the area converges, many triangles For comparison, in order to mimic the setting of [5], we are ill-formed (as a result of the projection) thus breaking the P have also considered the Laplacian LMESH , which corre- consistency. Non-consistency is also observed for LMESH P sponds to LMESH when the vertices of the marching cubes ( ) but with lower errors. On the opposite, LMESH ( ) are projected onto the sphere. In our framework, this opera- shows pointwise convergence, as expected in [5]. Conver- P tor is the gold standard as we perfectly know the vertex posi- gence speeds are close between Lh and LMESH , although P P P 2 tions. Finally, we also compute LCOT , LR−LOC and LQUAD there is a 10 gap for the u(x,y,z) = z function. LR−LOC on the projection of the marching cubes. The various discrete shows non-consistency behaviors. Indeed, our setting does are depicted in Fig. 7. not fit in the theorem of [31]: our projection function ξ is not First, as theoretically expected, LCOMBI ( ), LCOT bijective in general, and the surface normals of the marching P ( ) and LCOT ( ) are not strongly consistent on our cubes are not convergent breaking the weak consistency of setting on both the marching cubes and its projection. The LCOT (see [64]) which is required in the strong consistency P polygonal Laplace of Alexa et al. on our surface (resp. pro- proof of LR−LOC. As for LR−LOC, the projected marching P jected surface) has the same behavior as LCOT (resp. LCOT ). cubes has the properties required by Theorem 7. of [31], but As for the cotan operator, the poor approximation of the tan- the shape regularity ρ (which corresponds to the aspect ratio gent space through trivial normals leads to non-convergent of the triangles) diverges on the projection, thus breaking the areas, and thus a diverging operator on the sphere. As for the constant C from their theorem. Laplace–Beltrami Operator on Digital Surfaces 15

2 1 1 1 th = h th = h 3 th = h 3 th = h 6 th = h 12

1 1

0.1 error (px)

0.1 0.1

0.01 u(x,y,z) = z u(x,y,z) = x2 u(x,y,z) = ex 0.01 0.1 0.01 0.1 0.01 0.1 h h h 3 Fig. 8 Consistency results between ∆ and Lh for the l∞ norm are shown for various functions on the unit sphere ∂S . We use either th = h in red, 2 1 1 1 th = h 3 in blue, th = h 3 in green, th = h 6 in purple and th = h 12 in orange.

LCOT LR−LOC LQUAD LMESH LCOMBI P P P P LCOT LR−LOC LQUAD LMESH Lh

100 100

100

10

10 10 1

0.1 error (px)

0.01 1 1

0.001

0.0001 u(x,y,z) = z u(x,y,z) = x2 u(x,y,z) = ex 0.1 0.1 0.01 0.1 0.01 0.1 0.01 0.1 h h h 3 P P Fig. 9 Multigrid convergence graphs for various functions on ∂S , the unit sphere. l∞ is displayed for LCOT , LCOT , LCOMBI , LMESH , LMESH , P P 1 LR−LOC, LR−LOC, LQUAD, LQUAD and Lh. Parameters th and r are equal to h 3 for all five convolution operators. 16 Thomas Caissard et al.

HJET HII H H ? LR−LOC Lh

1 error (px)

0.1

0.1 1 h

Fig. 10 An illustration of the mean curvature values (from −0.11 in Fig. 11 Graph of l∞ error for the mean curvature estimation. Estima- violet to 0.29 in yellow) on a Goursat shape using our discretization of tion using Jet Fitting is in green ( ), using integral invariant in or- ange ( ), using in magenta ( ) and using L in purple the Laplace–Beltrami operator (H ? ). We used h = 0.17, t = 1.02 and LR−LOC h Lh h ball of radius 5 for the Integral Invariant normal estimator. ( ).

8.3 Mean curvature estimation 9 Conclusion and future works

We motivate here our strong consistency setting by com- We have adapted the discretization of the Laplace–Beltrami puting the mean curvature through our discretization. It is operator proposed by Belkin et al. [5] to our digital surface. known that the mean curvature vector of the underlying sur- We have proved strong consistency (i.e. pointwise conver- face can be directly computed using the operator: gence or convergence in the l∞ norm) of our operator in Theorem 5 and gave convergence speed for the functional Laplacian approximation in Lemma 1 and Lemma 2. We HN = ∆I have given associated empirical tests for various values of α the exponent α of th = h . We also compared our approach where I is the embedding of the structure (i.e. its real coordi- with existing discretizations to confirm that none of them nates) and N the unit normal. We use this relation to compute achieves pointwise convergence. the mean curvature on a Goursat shape (see Fig. 10) of equa- A first immediate future work would be to compute the tion convergence speed of the functional Laplace operator approx- imation of Belkin et al. in Theorem 1. Next, we would like to 2 0.03(x4 + y4 + z4) − 2(x2 + y2 + z2) − 8 = 0 reduce the complexity of the algorithm (which is O(n ) if n is the number of surfels as we compute a convolution between u(x,y,z)a = Gaussianz function and differences of functions). A natural and compute the l∞ error between the estimated curvature way is to look at cuts of the Gaussian function. In fact it is and the real one. Two Laplace–Beltrami operators are used: known that almost all the under a Gaussian is contained Lh and LR−LOC lead to two mean curvature estimators within a few multiple of σ (the standard deviation) typically called H ? and H respectively. We also compare our Lh LR−LOC two or three times σ. We have empirical results showing con- method with integral invariant [11](HII) and Monge Form sistency of the Laplace operator when we cut the Gaussian via Jet Fitting [9](HJET ). For all three HJET , HII and H ? , Lh but the theoretical proof is still an open problem. In addition 1 we set the convolution radius to h 3 . Results can be found in to reducing the computational cost of the convolution, cutting

Fig. 11. HLR−LOC does not converge because LR−LOC does the Gaussian implies a sparse matrix representation of the not either. The other three H , H and H ? converge. Laplace operator when considered as a linear operator. Spar- JET II Lh H ? is slightly better than H whereas both are better than sity is an interesting property in many geometry processing Lh II HJET . applications using linear system solvers or eigen decompo- Laplace–Beltrami Operator on Digital Surfaces 17

sition of operators containing the Laplacian. We would also 16. Desbrun, M., Hirani, A.N., Leok, M., Marsden, J.E.: Discrete exte- like to investigate an adaptation of [2] to our digital surfaces, rior calculus. arXiv preprint math/0508341 (2005) where we could use the normal estimation to compute dis- 17. Desbrun, M., Meyer, M., Schroder,¨ P., Barr, A.H.: Implicit fairing of irregular meshes using diffusion and curvature flow. In: W.N. crete inner products on k-forms and obtain better results than Waggenspack (ed.) Proceedings of the 26th Annual Conference on the straightforward implementation. Computer Graphics and Interactive Techniques, SIGGRAPH 1999, Los Angeles, CA, USA, August 8-13, 1999, pp. 317–324. ACM (1999). DOI 10.1145/311535.311576 18. Dey, T.K., Ranjan, P., Wang, Y.: Convergence, Stability, and Dis- References crete Approximation of Laplace Spectra, pp. 650–663. DOI 10.1137/1.9781611973075.54 1. DGtal: Digital geometry tools and algorithms library. http:// 19. Dziuk, G.: Finite Elements for the Beltrami operator on arbitrary dgtal.org surfaces, pp. 142–155. Springer Berlin Heidelberg, Berlin, Heidel- 2. Alexa, M., Wardetzky, M.: Discrete laplacians on general polyg- berg (1988). DOI 10.1007/BFb0082865 onal meshes. In: ACM SIGGRAPH 2011 Papers, SIGGRAPH 20. Ellis, T., Proffitt, D., Rosen, D., Rutkowski, W.: Measurement of ’11, pp. 102:1–102:10. ACM, New York, NY, USA (2011). DOI the lengths of digitized curved lines. Computer Graphics and Im- 10.1145/1964921.1964997 age Processing 10(4), 333 – 347 (1979). DOI http://dx.doi.org/10. 3. Belkin, M., Niyogi, P.: Towards a theoretical foundation for 1016/S0146-664X(79)80042-8 laplacian-based manifold methods. J. Comput. Syst. Sci. 74(8), 21. Federer, H.: Curvature measures. Transactions of the American 1289–1308 (2008). DOI 10.1016/j.jcss.2007.08.006 Mathematical Society 93(3), 418–491 (1959) 4. Belkin, M., Sun, J., Wang, Y.: Constructing Laplace Operator 22. Flin, F., Brzoska, J.B., Lesaffre, B., Coleou,´ C., Lamboley, P., d from Point Clouds in R , pp. 1031–1040. DOI 10.1137/1. Coeurjolly, D., Teytaud, O., Vignoles, G., Delesse, J.F.: An adap- 9781611973068.112 tive filtering method to evaluate normal vectors and surface areas 5. Belkin, M., Sun, J., Wang, Y.: Discrete laplace operator on meshed of 3d objects. application to snow images from x-ray tomography. surfaces. In: M. Teillaud (ed.) Proceedings of the 24th ACM IEEE Transactions on Image Processing 14(5), 585–596 (2005) Symposium on Computational Geometry, College Park, MD, USA, 23. Fujiwara, K.: Eigenvalues of laplacians on a closed riemannian June 9-11, 2008, pp. 278–287. ACM (2008). DOI 10.1145/ manifold and its nets. Proceedings of the American Mathematical 1377676.1377725 Society 123(8), 2585–2594 (1995) 6. Caissard, T., Coeurjolly, D., Lachaud, J.O., Roussillon, T.: Heat ker- 24. Grady, L.J., Polimeni, J.: Discrete calculus: Applied analysis on nel Laplace-Beltrami operator on digital surfaces (2016). Working graphs for computational science. Springer (2010) paper or preprint 25. Harrison, J.: Stokes’ theorem for nonsmooth chains. Bulletin of 7. Carl, W.: A Laplace Operator on Semi-Discrete Surfaces. Found. the American Mathematical Society 29(2), 235–242 (1993) Comput. Math. 16(5), 1115–1150 (2016). DOI 10.1007/ 26. Harrison, J.: across nonsmooth boundaries and fractal s10208-015-9271-y gauss/green/stokes’ theorems. Journal of Physics A: Mathemat- 8. Cartade, C., Mercat, C., Malgouyres, R., Samir, C.: Mesh param- ical and General 32(28), 5317 (1999) eterization with generalized discrete conformal maps. Journal of 27. Hein, M., Audibert, J.Y., von Luxburg, U.: From Graphs to Man- mathematical imaging and vision 46(1), 1–11 (2013) ifolds – Weak and Strong Pointwise Consistency of Graph Lapla- 9. Cazals, F., Pouget, M.: Estimating differential quantities using poly- cians, pp. 470–485. Springer Berlin Heidelberg, Berlin, Heidelberg nomial fitting of osculating jets. Computer Aided Geometric De- (2005). DOI 10.1007/11503415 32 sign 22(2), 121 – 146 (2005). DOI https://doi.org/10.1016/j.cagd. 28. Herman, G.: Geometry of Digital Spaces. Applied and Numerical 2004.09.004 Harmonic Analysis. Birkhauser¨ Boston (2012) 10. Coeurjolly, D., Lachaud, J., Levallois, J.: Integral based curva- 29. Hildebrand, T., Laib, A., Muller,¨ R., Dequeker, J., Ruegsegger,¨ P.: ture estimators in digital geometry. In: R. Gonzalez-D´ ´ıaz, M.J. Direct three-dimensional morphometric analysis of human cancel- Jimenez,´ B. Medrano (eds.) Discrete Geometry for Computer Im- lous bone: microstructural data from spine, femur, iliac crest, and agery - 17th IAPR International Conference, DGCI 2013, Seville, calcaneus. Journal of bone and mineral research : the official jour- Spain, March 20-22, 2013. Proceedings, Lecture Notes in Com- nal of the American Society for Bone and Mineral Research 14(7), puter Science, vol. 7749, pp. 215–227. Springer (2013). DOI 1167–74 (1999) 10.1007/978-3-642-37067-0 19 30. Hildebrandt, K., Polthier, K.: Generalized shape operators on poly- 11. Coeurjolly, D., Lachaud, J., Levallois, J.: Multigrid convergent prin- hedral surfaces. Computer Aided Geometric Design 28(5), 321 – cipal curvature estimators in digital geometry. Computer Vision 343 (2011). DOI https://doi.org/10.1016/j.cagd.2011.05.001 and Image Understanding 129, 27–41 (2014). DOI 10.1016/j.cviu. 31. Hildebrandt, K., Polthier, K.: On approximation of the 2014.04.013 laplace–beltrami operator and the willmore energy of sur- 12. Coeurjolly, D., Lachaud, J.O., Roussillon, T.: Multigrid Con- faces. Computer Graphics Forum 30(5), 1513–1520 (2011). vergence of Discrete Geometric Estimators, pp. 395–424. DOI 10.1111/j.1467-8659.2011.02025.x Springer Netherlands, Dordrecht (2012). DOI 10.1007/ 32. Hildebrandt, K., Polthier, K., Wardetzky, M.: On the conver- 978-94-007-4174-4 13 gence of metric and geometric properties of polyhedral surfaces. 13. Corless, R.M., Gonnet, G.H., Hare, D.E.G., Jeffrey, D.J., Knuth, Geometriae Dedicata 123(1), 89–112 (2006). DOI 10.1007/ D.E.: On the lambertw function. Advances in Computational Math- s10711-006-9109-5 ematics 5(1), 329–359 (1996). DOI 10.1007/BF02124750 33. Hirani, A.N.: Discrete exterior calculus. Ph.D. thesis, California 14. Crane, K., Weischedel, C., Wardetzky, M.: Geodesics in heat: a Institute of Technology (2003) new approach to computing distance based on heat flow. ACM 34. Hunter, J., Nachtergaele, B.: Applied Analysis. World Scientific Transactions on Graphics (TOG) 32(5), 152 (2013) (2001) 15. Cuel, L., Lachaud, J.O., Thibert, B.: Voronoi-based geometry es- 35. Klette, R., Rosenfeld, A.: Digital geometry : geometric methods for timator for 3d digital surfaces. In: Proc. Discrete Geometry for digital picture analysis. The Morgan Kaufmann in computer Computer Imagery (DGCI’2014), LNCS, vol. 8668, pp. 134–149 graphics and geometric modeling. Elsevier, Amsterdam, Boston (2014) (2004) 18

36. Lachaud, J., Vialard, A., de Vieilleville, F.: Fast, accurate and con- 56. Rosenberg, S.: The Laplacian on a Riemannian Manifold. Cam- vergent tangent estimation on digital contours. Image Vision Com- bridge University Press (1997). Cambridge Books Online put. 25(10), 1572–1587 (2007). DOI 10.1016/j.imavis.2006.06. 57. Rudin, W.: Principles of Mathematical Analysis. International 019 series in pure and applied mathematics. McGraw-Hill (1976) 37. Lachaud, J.O.: Non-Euclidean spaces and image analysis : Rie- 58. Taubin, G.: A signal processing approach to fair surface design. mannian and discrete deformable models, discrete topology and In: Proc. SIGGRAPH, pp. 351–358 (1995). DOI 10.1145/218380. geometry. Habilitation a` diriger des recherches, Universite´ Sci- 218473 ences et Technologies - Bordeaux I (2006) 59. Taubin, G.: Geometric signal processing on polygonal meshes 4 38. Lachaud, J.O., Thibert, B.: Properties of gauss digitized shapes and (2001) digital surface integration. Journal of Mathematical Imaging and 60. Vallet, B., Levy,´ B.: Spectral geometry processing with manifold Vision 54(2), 162–180 (2016). DOI 10.1007/s10851-015-0595-7 harmonics. Comput. Graph. Forum 27(2), 251–260 (2008). DOI 39. Lenoir, A.: Des outils pour les surfaces discretes` : estimation 10.1111/j.1467-8659.2008.01122.x d’invariants geom´ etriques,´ preservation´ de la topologie, trace´ de 61. Varadhan, S.: On the behavior of the fundamental solution of the geod´ esiques´ et visualisation. Ph.D. thesis, Universite´ de Caen heat equation with variable coefficients. Communications on Pure (1999) and Applied Mathematics 20(2), 431–455 (1967). DOI 10.1002/ 40. Lenoir, A., Malgouyres, R., Revenu, M.: Fast computation of the cpa.3160200210 normal vector field of the surface of a 3-D discrete object, pp. 101– 62. de Vieilleville, F., Lachaud, J., Feschet, F.: Convex digital polygons, 112. Springer Berlin Heidelberg, Berlin, Heidelberg (1996). DOI maximal digital straight segments and convergence of discrete ge- 10.1007/3-540-62005-2 9 ometric estimators. Journal of Mathematical Imaging and Vision 41. Levallois, J., Coeurjolly, D., Lachaud, J.: Parameter-free and multi- 27(2), 139–156 (2007). DOI 10.1007/s10851-007-0779-x grid convergent digital curvature estimators. In: Discrete Geome- 63. Wardetzky, M.: Discrete differential operators on polyhedral sur- try for Computer Imagery - 18th IAPR International Conference, faces - convergence and approximation. Ph.D. thesis, Freie Univer- DGCI 2014, Siena, Italy, September 10-12, 2014. Proceedings, pp. sitat¨ Berlin (2010) 162–175 (2014) 64. Wardetzky, M., Mathur, S., Kaelberer, F., Grinspun, E.: Discrete Laplace operators: No free lunch. Eurographics Symposium on Ge- 42. Levy,´ B., Zhang, H.: Spectral Mesh Processing. Tech. rep., SIG- ometry Processing pp. 33–37 (2007). DOI 10.2312/SGP/SGP07/ GRAPH Asia 2009 Courses (2008) 033-037 43. Mayer, U.: Numerical solutions for the surface diffusion flow in 65. Willmore, T.: Riemannian Geometry. Oxford science publications. three space dimensions 20 (2001) Clarendon Press (1996) 44. Mercat, C.: Discrete riemann surfaces and the ising model. Com- 66. Xu, G.: Convergence of discrete laplace-beltrami operators over munications in Mathematical Physics 218(1), 177–216 (2001) surfaces. Computers and Mathematics with Applications 48(3), 45. Mercat, C.: Discrete complex structure on surfel surfaces. In: 347 – 360 (2004). DOI https://doi.org/10.1016/j.camwa.2004.05. Discrete Geometry for Computer Imagery, Lecture Notes in Com- 001 puter Science, vol. 4992, pp. 153–164. Springer Berlin Heidelberg 67. Xu, G.: Discrete laplace–beltrami operators and their convergence. (2008). DOI 10.1007/978-3-540-79126-3 15 Computer Aided Geometric Design 21(8), 767 – 784 (2004). DOI 46. Meyer, M., Desbrun, M., Schroder,¨ P., Barr, A.H.: Discrete http://dx.doi.org/10.1016/j.cagd.2004.07.007. Geometric Model- Differential-Geometry Operators for Triangulated 2-Manifolds, pp. ing and Processing 2004 35–57. Springer Berlin Heidelberg, Berlin, Heidelberg (2003). 68. Xu, G.: Convergence analysis of a discretization scheme for gaus- DOI 10.1007/978-3-662-05105-4 2 sian curvature over triangular surfaces. Computer Aided Geometric 47. Molchanov, S.A.: Diffusion processes and riemannian geometry. Design 23(2), 193 – 207 (2006). DOI http://dx.doi.org/10.1016/j. Russian Mathematical Surveys 30(1), 1 (1975) cagd.2005.07.002 48. Ovsjanikov, M., Corman, E., Bronstein, M., Rodola,` E., Ben-Chen, 69. Zhang, H.: Discrete combinatorial laplacian operators for digital M., Guibas, L., Chazal, F., Bronstein, A.: Computing and process- geometry processing. In: in SIAM Conference on Geometric De- ing correspondences with functional maps. In: ACM SIGGRAPH sign, 2004, pp. 575–592. Press (2004) 2017 Courses, SIGGRAPH ’17, pp. 5:1–5:62. ACM, New York, NY, USA (2017). DOI 10.1145/3084873.3084877 49. Pinkall, U., Polthier, K.: Computing discrete minimal surfaces and their conjugates. Experimental mathematics 2(1), 15–36 (1993) 50. Polthier, K.: Computational aspects of discrete minimal surfaces Appendices (2002) 51. Polthier, K., Preuss, E.: Identifying vector field singularities using Lemma 4 Let a,b,c ∈ R, if a ≤ 0 and c ≥ 0, then a discrete Hodge decomposition. Visualization and Mathematics 3, 113–134 (2003) a ≤ b ≤ c =⇒ |b| ≤ max{|a|,c}. 52. Pottmann, H., Wallner, J., Huang, Q., Yang, Y.: Integral invariants for robust geometry processing. Computer Aided Geometric De- sign 26(1), 37–60 (2009). DOI 10.1016/j.cagd.2008.01.002 53. Pottmann, H., Wallner, J., Yang, Y., Lai, Y., Hu, S.: Principal cur- Proof We split the proof into two cases depending on vatures from the integral invariant viewpoint. Computer Aided the sign of b. If b ≤ 0, then |b| ≤ |a| and therefore Geometric Design 24(8-9), 428–442 (2007). DOI 10.1016/j.cagd. |b| ≤ max{|a|,c}. If b > 0, then |b| = b ≤ |c| = c as c ≥ 0 2007.07.004 54. Qin, H., Chen, Y., Wang, Y., Hong, X., Yin, K., Huang, H.: and therefore |b| ≤ max{|a|,c} which concludes the Laplace–beltrami operator on point clouds based on anisotropic proof. ut voronoi diagram. Computer Graphics Forum pp. n/a–n/a. DOI 10.1111/cgf.13315 Lemma 5 Let x ∈ R, 55. Regge, T.: General relativity without coordinates. Il Nuovo x 1   1   Cimento Series 10 19(3), 558–571 (1961). DOI 10.1007/ e 2 − 1 ≤ x ⇐⇒ 0 ≤ x ≤ − 2W−1 − √ + 1 ≈ 2.51286 BF02733251 2 2 e 19

2

x ∈ R −1 −0.5 0.5 1 1.5 2 (−1/e,−1)

−2

−4

Fig. 12 Plot of the two principal branches of the Lambert W-function. W0 is in orange, and W−1 in green. The two branches join at the point (−1/e,−1).

where W−1 is the lower branch of Lambert W-function (also called omega function or product logarithms).

Proof We use the Lambert W-function to prove this lemma. In-depth study of this object can be found in the book of Cor- less, Gonnet, Hare and Knuth [13]. The function is defined as the multivalued function W that satisfies z = W(z)eW(z) for z ∈ C. It is equivalently the inverse function of f (w) = wew. The graph of the Lambert W-function in the real num- bers is drawn in Fig. 12. The function has two real branches W0 and W−1 in the interval −1/e < x < 0 which join at x = −1/e. This means that the equation x = wew has two solutions in this interval (one per branch). We will use both branches: W−1 which is decreasing in its interval, and W0 which is increasing in this interval. We also use the identity W(xex) = x. We do a proof by equivalence of inequalities:

x e 2 − 1 ≤ x x ⇐⇒ e 2 ≤ x + 1 − x ⇐⇒ − (x + 1)e 2 ≤ −1

x 1 −( x + 1 ) 1 ⇐⇒ − ( + )e 2 2 ≤ − √ . by multiplying by √1 2 2 2 e 2 e

1 Putting X = − 2 (x + 1) we have 1 1 X ≥ W (− √ ) and X ≤ W (− √ ) −1 2 e 0 2 e which leads to 1 1 −(2W (− √ ) + 1) = 0 ≤ x ≤ −(2W (− √ ) + 1) ≈ 2.51286 0 2 e −1 2 e

√1 1 as W0(− 2 e ) = 2 . ut