canonical homotopy class representative using hyperbolic structure

8
IEEE INTERNATIONAL CONFERENCE ON SHAPE MODELING AND APPLICATIONS (SMI) 2009 1 Canonical Homotopy Class Representative Using Hyperbolic Structure Wei Zeng 1 , Miao Jin 2 , Feng Luo 3 , Xianfeng David Gu 1 1 Department of Computer Science, Stony Brook University, Stony Brook, NY 11794, USA 2 Center for Advanced Computer Studies, University of Louisiana at Lafayette, Lafayette, LA 70504, USA 3 Department of Mathematics, Rutgers University, Piscataway, NJ 08854, USA Abstract—Homotopy group plays a role in com- putational topology with a fundamental importance. Each homotopy equivalence class contains an infinite number of loops. Finding a canonical representa- tive within a homotopy class will simplify many computational tasks in computational topology, such as loop homotopy detection, pants decomposition. Furthermore, the canonical representative can be used as the shape descriptor. This work introduces a rigorous and practical method to compute a unique representative for each homotopy class. The main strategy is to use hyper- bolic structure, such that each homotopy class has a unique closed geodesic, which is the representative. The following is the algorithm pipeline: for a given surface with negative Euler number, we apply hyperbolic Yamabe curvature flow to compute the unique Riemannian metric, which has constant neg- ative one curvature everywhere and is conformal to the original metric. Then we compute the Fuchsian group generators of the surface on the hyperbolic space. For a given loop on the surface, we lift it to the universal covering space, to obtain the Fuchsian transformation corresponding to the homotopy class of the loop. The unique closed geodesic inside the homotopy class is the axis of the Fuchsian transfor- mation, which is the canonical representative. Theories and algorithms are explained thoroughly in details. Experimental results are reported to show the efficiency and efficacy of the algorithm. The unique homotopy class representative can be applied for homotopy detection and shape comparison. Keywords—homotopy class, hyperbolic structure, hyperbolic Yamabe flow 1. INTRODUCTION Computational topological methods have been widely applied for computer graphics, geometric modeling, medical imaging and many engineering fields. One of the most important topological invariant is the funda- mental group. Comparing to homology groups, funda- mental group conveys more information, but also is much more difficult to compute. For examples, verifying two fundamental groups of 3-manifolds are isomorphic, finding the shortest representative of a loop in the funda- mental group, are highly non-trivial. Geometry topology aims at solving topological problems by equipping the topological manifold with a geometric structure, which can greatly simplify the problem. For example, in order to prove the Poincar´ e conjecture, a Riemannian metric is assigned to the 3-manifold, by running Ricci flow, the metric converges to the canonical spherical metric. This proves the manifold is homeomorphic to a sphere. Γ Γ γ 1 γ 1 (a) (b) γ 2 γ 2 Γ Γ (c) (d) Fig. 1. Two homotopic closed surface γ 1 and γ 2 are given. The canonical representative of their homotopy class [γ 1 ] is computed as the unique closed geodesic in the homotopy class under the uniformization metric, shown as Γ. (a) and (b) show the front view and back view of γ 1 and Γ. (c) and (d) illustrate the front view and back view of γ 2 and Γ. The figure shows the canonical representative of the homotopy class is unique. In this work, we propose to assign a special Rieman- nian metric to a topological surface, which helps the computation for topological problems, especially those related to the fundamental group. The basic idea is that, each homotopy class has an infinite number of loops, if a unique representative can be selected from the loops, it can greatly simplifies the problems. A natural choice for the representative will be a closed geodesic. Un- fortunately, under induced Euclidean metric, the closed geodesic is not unique in each homotopy class. Accord- ing to Riemann uniformization theorem, each metric surface has a canonical uniformization metric, which has constant Gaussian curvature everywhere. If the surface is of negative Euler number, then under the canoni- cal metric, each homotopy class has a unique closed geodesic. By deforming the metric to be the canonical uniformization metric, the unique closed geodesic can be obtained and used as the canonical representative for the class. The major computational challenges are: 1) How to compute the uniformization metric?

Upload: others

Post on 17-Oct-2021

6 views

Category:

Documents


0 download

TRANSCRIPT

Page 1: Canonical Homotopy Class Representative Using Hyperbolic Structure

IEEE INTERNATIONAL CONFERENCE ON SHAPE MODELING AND APPLICATIONS (SMI) 2009 1

Canonical Homotopy Class Representative Using HyperbolicStructure

Wei Zeng1, Miao Jin2, Feng Luo3, Xianfeng David Gu1

1Department of Computer Science, Stony Brook University, Stony Brook, NY 11794, USA2Center for Advanced Computer Studies, University of Louisiana at Lafayette, Lafayette, LA 70504, USA

3Department of Mathematics, Rutgers University, Piscataway, NJ 08854, USA

Abstract—Homotopy group plays a role in com-putational topology with a fundamental importance.Each homotopy equivalence class contains an infinitenumber of loops. Finding a canonical representa-tive within a homotopy class will simplify manycomputational tasks in computational topology, suchas loop homotopy detection, pants decomposition.Furthermore, the canonical representative can beused as the shape descriptor.

This work introduces a rigorous and practicalmethod to compute a unique representative for eachhomotopy class. The main strategy is to use hyper-bolic structure, such that each homotopy class has aunique closed geodesic, which is the representative.

The following is the algorithm pipeline: for agiven surface with negative Euler number, we applyhyperbolic Yamabe curvature flow to compute theunique Riemannian metric, which has constant neg-ative one curvature everywhere and is conformal tothe original metric. Then we compute the Fuchsiangroup generators of the surface on the hyperbolicspace. For a given loop on the surface, we lift it tothe universal covering space, to obtain the Fuchsiantransformation corresponding to the homotopy classof the loop. The unique closed geodesic inside thehomotopy class is the axis of the Fuchsian transfor-mation, which is the canonical representative.

Theories and algorithms are explained thoroughlyin details. Experimental results are reported to showthe efficiency and efficacy of the algorithm. Theunique homotopy class representative can be appliedfor homotopy detection and shape comparison.

Keywords—homotopy class, hyperbolic structure,hyperbolic Yamabe flow

1. INTRODUCTION

Computational topological methods have been widelyapplied for computer graphics, geometric modeling,medical imaging and many engineering fields. One ofthe most important topological invariant is the funda-mental group. Comparing to homology groups, funda-mental group conveys more information, but also ismuch more difficult to compute. For examples, verifyingtwo fundamental groups of 3-manifolds are isomorphic,finding the shortest representative of a loop in the funda-mental group, are highly non-trivial. Geometry topology

aims at solving topological problems by equipping thetopological manifold with a geometric structure, whichcan greatly simplify the problem. For example, in orderto prove the Poincare conjecture, a Riemannian metricis assigned to the 3-manifold, by running Ricci flow, themetric converges to the canonical spherical metric. Thisproves the manifold is homeomorphic to a sphere.

Γ Γ

γ1

γ1

(a) (b)

γ2

γ2

Γ Γ

(c) (d)

Fig. 1. Two homotopic closed surfaceγ1 and γ2 are given. Thecanonical representative of their homotopy class[γ1] is computedas the unique closed geodesic in the homotopy class under theuniformization metric, shown asΓ. (a) and (b) show the front viewand back view ofγ1 and Γ. (c) and (d) illustrate the front view andback view ofγ2 andΓ. The figure shows the canonical representativeof the homotopy class is unique.

In this work, we propose to assign a special Rieman-nian metric to a topological surface, which helps thecomputation for topological problems, especially thoserelated to the fundamental group. The basic idea is that,each homotopy class has an infinite number of loops, ifa unique representative can be selected from the loops,it can greatly simplifies the problems. A natural choicefor the representative will be a closed geodesic. Un-fortunately, under induced Euclidean metric, the closedgeodesic is not unique in each homotopy class. Accord-ing to Riemann uniformization theorem, each metricsurface has a canonical uniformization metric, which hasconstant Gaussian curvature everywhere. If the surfaceis of negative Euler number, then under the canoni-cal metric, each homotopy class has a unique closedgeodesic. By deforming the metric to be the canonicaluniformization metric, the unique closed geodesic canbe obtained and used as the canonical representative forthe class.

The major computational challenges are:

1) How to compute the uniformization metric?

Page 2: Canonical Homotopy Class Representative Using Hyperbolic Structure

2) How to compute the closed geodesic from a givenloop?

The first problem can be solved using surface Ricci flow,which deforms the metric proportional to the Gaussiancurvature, such that the curvature evolves according toa heat diffusion process, and becomes constant every-where. This work introduces a novel discrete curva-ture flow, discrete hyperbolic Yamabe flow on surfaces,which is the gradient flow of a convex energy. Theuniformization metric corresponds to the unique globaloptimum of the energy. By optimizing the energy, theoptimum can be reached efficiently and stably.

The second problem can be solved using dualitybetween the fundamental group and the Fuchsian group.The universal covering space of the surface can be iso-metrically embedded onto the hyperbolic spaceH

2. Allthe deck transformations are Mobius transformations,and form the Fuchsian group. Each homotopy classcorresponds to a unique Fuchsian transformation. Theunique geodesic corresponds to the axis of the Fuchsiantransformation.

The paper is organized in the following way: previousworks are briefly reviewed in the next section; theoreticbackground is introduced in Section III; details for thealgorithms are explained thoroughly in Sections IV andV; experimental results are reported in Section VI; thepaper is concluded in Section VII.

2. PREVIOUS WORKS

The Ricci flow on surfacesThe Ricci flow was firstlyproposed by Hamilton [1] as a tool to conformally de-form the metric according to the curvature. In [2] Chowand Luo developed the theories of the combinatorialsurface Ricci flow, which was later implemented andapplied for surface parameterization [3], [4], shape clas-sification [5], shape mapping [6] and surface matching[7].

In [10] Luo studied the discrete Yamabe flow onsurfaces. He introduced a notion of discrete conformalchange of polyhedral metric, which plays a key role indeveloping the discrete Yamabe flow and the associatedvariational principle in the field. Based on the discreteconformal class and geometric consideration, Luo gavethe discrete Yamabe energy as an integration of a dif-ferential 1-form and proved that this energy is a locallyconvex function. He also deduced from it that the cur-vature evolution of the Yamabe flow is a heat equation.In a very nice recent work of Springborn et al. [11] theywere able to identify the Yamabe energy introduced byLuo with the Milnor-Lobachevsky function and the heatequation for the curvature evolution with the cotangentLaplace equation. They constructed an algorithm basedon their explicit formula.

Theories of Yamabe flow on discrete hyperbolicsurface can be found in [25]. This is the first workto develop the computational algorithm forhyperbolicYamabe flow, which is used to compute the uniform hy-perbolic metric for surfaces with negative Euler number.

The shortest loop The problem of computing ho-motopy geodesic,homotopy class representative, forloops or all point pairs has significant connections withother important problems in computational topology,such as constructing polygonal schema [12], [13], [14],contractibility test and transformability test [15].

Erickson and Whittlesey [16] gave a very fast greedyalgorithm to compute the shortest system of loopsrelaxing the homotopy condition. The active contourmethod [17] is widely used in computer vision. Aplanar curve on an image can be shrunk by movingeach point towards its curvature center. The deformationprocess does not change the homotopy type of thecurve. Later, in [18], geometric snakes, which are cycleson a surface, are computed from active contours onthe corresponding parameter chart. By distorting thecurve based on geodesic curvature, the curves will bedeformed to geodesics with the same homotopy type.Dey et al. [27] proposed the persistence based algorithmto compute well defined tunnel and handle base loopsthat are both topologically correct but also geometricallyrelevant.handles and tunnelsare defined via homology.Thus it can not guarantee the loops detected are therepresentatives of homotopy group.

Hershberger and Soneyink lifted closed curves to theuniversal covering space in [20], [21]. However, theirresults only apply to boundary triangulated 2-manifoldsand cannot be used in our case because it assumes allvertices are on a boundary. Yin et. al. [19] generalizedthe shortest path algorithm to the shortest cycles in eachhomotopy class on a surface with arbitrary topology, byutilizing the UCS in algebraic topology.

Jin et al. [22], [5], [26] introduced the geodesicspectra from Fuchsian group generators in a closedform to classify surfaces by their conformal structures.The key difference is that their method only computesthe lengths of geodesics, which are the traces of theFuchsian transformations. In our work, we focus onfinding the geodesics explicitly, instead of just theirlengths.

3. THEORETIC BACKGROUND

This section briefly introduces the theoretic back-ground necessary for the current work. For details, werefer readers to [23] for algebraic topology and [24] fordifferential geometry.Fundamental group and representative of homotopyclassLet Sbe a topological surface, and letp be a pointof S. All loops with base pointp are classified by homo-topy relation. All homotopy equivalence classes form thehomotopy groupor fundamental groupπ1(S, p), wherethe product is defined as the concatenation of two loopsthrough their common base point.

Suppose S is a genus g closed surface. Acanonical set of generatorsof π(S, p) consists of{a1,b1,a2,b2, · · · ,ag,bg}, such that the pairai and bi

has one intersection point, the pairs{ai,a j}, {bi ,b j} and{ai,b j}, have no intersections, wherei 6= j. See Figure1 for an example of canonical basis on a genus two

2

Page 3: Canonical Homotopy Class Representative Using Hyperbolic Structure

surface.Universal cover and uniformization metric A cover-ing spaceof S is a spaceS together with a continuoussurjective maph : S→ S, such that for everyp ∈ Sthere exists an open neighborhoodU of p such thath−1(U) (the inverse image ofU underh) is a disjointunion of open sets inS each of which is mappedhomeomorphically ontoU by h. The maph is calledthe covering map. A simply connected covering spaceis a universal cover.

Supposeγ ⊂ S is a loop through the base pointpon S. Let p0 ∈ S be a preimage of the base pointp,p0 ∈ h−1(p), then there exists a unique pathγ ⊂ S lyingover γ (i.e. h(γ) = γ) and γ(0) = p0. γ is a lift of γ.

A deck transformationof a cover h : S→ S is ahomeomorphismf : S→ S such thath ◦ f = h. Alldeck transformations form a group, the so-calleddecktransformation group. A fundamental domainof S is asimply connected domain, which intersects each orbit ofthe deck transformation group only once.

The deck transformation groupDeck(S) is isomorphicto the fundamental groupπ1(S, p). Let p0 ∈ h−1(p),φ ∈ Deck(S), γ is a path in the universal coverconnecting ˜p0 and φ(p0), then the projection ofγ is aloop on S, φ corresponds to the homotopy class of theloop, φ → [h(γ)]. This gives the isomorphism betweenDeck(S) andπ1(S, p).

Surface Ricci curvature flow Let S be a surfaceembedded inR3. S has a Riemannian metric inducedfrom the Euclidean metric ofR3, denoted byg. Supposeu : S→ R is a scalar function defined onS. It can beverified thatg = e2ug is also a Riemannian metric onSconformal to the original one.

The Gaussian curvatures will also be changed accord-ingly. The Gaussian curvature will become

K = e−2u(−∆gu+K),

where∆g is the Laplacian-Beltrami operator under theoriginal metric g. The above equation is called theYamabe equation. By solving the Yamabe equation, onecan design a conformal metrice2ug by a prescribedcurvatureK.

Yamabe equation can be solved usingRicci flowmethod. The Ricci flow deforms the metricg(t) accord-ing to the Gaussian curvatureK(t) (induced by itself),wheret is the time parameter

dgi j (t)

dt= 2(K−K(t))gi j (t).

Theuniformization theoremfor surfaces says that anymetric surface admits a Riemannian metric of constantGaussian curvature, which is conformal to the originalmetric. Such metric is called theuniformization metric.Poincare disk model In this work, we use Poincaredisk to model the hyperbolic spaceH

2, which is the unitdisk |z|< 1 on the complex plane with the metricds2 =

4dzdz(1−zz)2 . The rigid motion is the Mobius transformation

z→ eiθ z−z0

1− z0z,

whereθ andz0 are parameters. The geodesic of Poincaredisk is a Euclidean circular arc, which is perpendicularto the unit circle.

SupposeS is a high genus closed surface with thehyperbolic uniformization metricg. Then its universalcovering space(S, g) can be isometrically embeddedin H

2. Any deck transformation ofS is a Mobiustransformation, and called aFuchsian transformation.The deck transformation group is called theFuchsiangroup of S.

Let φ be a Fuchsian transformation, letz ∈ H2,

the attractor and repulser of φ are limn→∞ φn(z) andlimn→∞ φ−n(z) respectively. Theaxis of φ is the uniquegeodesic through its attractor and repulser.

4. DISCRETE HYPERBOLIC YAMABE FLOW

In practice, most surfaces are approximated by dis-crete triangular meshes. LetM be a two dimensionalsimplicial complex, we denote the set of vertices, edgesand faces asV,E,F respectively. We usevi as theithvertex; edge[vi ,v j ] from vi to v j ; face [vi ,v j ,vk] withthe vertices sorted counter-clockwisely. Figure 2 showsthe hyperbolic triangle, and its associated edge lengthsl i ,yi , corner anglesθi and conformal factorsui.

A discrete metricis a functionl : E → R+, such that

triangle inequality holds on every face, which representsthe edge lengths. In this work, we assume all faces arehyperbolic triangles. Thediscrete curvature K: V → R

is defined as angle deficit, 2π minus surrounding cornerangles for an interior vertex, andπ minus surroundingcorner angles for a boundary vertex.

l1

l2l3

u1

u2

u3

y1

y2y3

θ1

θ2

θ3

Fig. 2. Discrete surface Yamabe flow.

4.1 Discrete conformal deformation

Suppose the mesh is embedded inR3, therefore it has

the induced Euclidean metric. We usel0i j to denote theinitial induced Euclidean metric on edge[vi ,v j ].

Let u : V → R be thediscrete conformal factor. Thediscrete conformal metric deformation is defined as

sinh(yk

2) = eui sinh(

lk2

)eu j . (1)

The discrete Yamabe flowis defined as

dui

dt= −Ki , (2)

3

Page 4: Canonical Homotopy Class Representative Using Hyperbolic Structure

whereKi is the curvature at the vertexvi .Let u = (u1,u2, · · · ,un) be the conformal factor vector,

wheren is the number of vertices,u0 = (0,0, · · · ,0), thenthe discrete hyperbolic Yamabe energyis defined as

E(u) =

∫ u

u0

n

∑i=1

Kidui . (3)

The following theorem lays down the foundation ofthe discrete hyperbolic flow algorithm.

Lemma IV.1. The differential 1-formω = ∑ni=1Kidui is

closed.

We useck to denote cosh(yk). By direct computation,it can be shown that on each triangle,

∂θi

∂u j= A

ci +c j −ck−1ck +1

,

whereA =

1sin(θk)sinh(yi)sinh(y j)

,

which is symmetric ini, j, therefore∂θi∂u j

=∂θ j∂ui

. It is easy

to see that∂Ki∂u j

=∂K j∂ui

, which impliesdω = 0.

Theorem IV.2. The discrete hyperbolic Yamabe energyis convex. The unique global minimum corresponding tothe hyperbolic metric with zero vertex curvatures.

This requires to compute the Hessian matrix of theenergy. The explicit form is given as follows.

∂θi

∂ui= −A

2cic jck−c2j −c2

k +cic j +cick−c j −ck

(c j +1)(ck +1)

The Hessian matrix(hi j ) of the hyperbolic Yamabeenergy can be computed explicitly. Let[vi ,v j ] be anedge, connecting two faces[vi ,v j ,vk] and[v j ,vi ,vl ], thenthe edge weight is defined as

hi j =∂θ jk

i

∂u j+

∂θ l ji

∂u j.

also for

hii = ∑j ,k

∂θ jki

∂ui,

where the summation goes through all faces surroundingvi , [vi ,v j ,vk].

The discrete hyperbolic energy can be optimized us-ing Newton’s method directly. Because of the convexityof the energy, the optimization process is stable.

Given the meshM, a conformal factor vectoruis admissible, if the deformed metric satisfies triangleinequality on each face. The space of all admissibleconformal factors is not convex. In practice, the steplength in Newton’s method needs to be adjusted. Oncetriangle inequality doesn’t hold on a face, edge swapneeds to be performed.

5. COMPUTATIONAL ALGORITHMS

The algorithm pipeline has two stages. The first stageis to compute the hyperbolic uniformization metric, the

fundamental group generators and the correspondingFuchsian group generators. This stage is independent ofthe input loop, and needs to be performed only once.

The second stage includes lifting the loop to theuniversal covering space (this can be accomplishedsymbolically without the real lifting process) to get thecorresponding Fuchsian transformation; computing theaxis of the Fuchsian transformation, and project the axisto the original surface.

a1

b1

a2

b2

(a) Input genus (b) Canonical homotopy

two mesh group basis

a1

b1

a−1

1

b−1

1

a2

b2

a−1

2

b−1

2

(c) Fundamental domain (d) Portion of universal

embedded inH2 under covering space using

hyperbolic metric Fuchsian group generators

Fig. 3. Algorithm pipeline: Stage 1. (a) is the input genus twomesh; (b) Compute a set of canonical fundamental group basis{a1,b1,a2,b2}; (c) Compute the hyperbolic uniformization metricusing hyperbolic Yamabe flow. The fundamental domain is embeddedontoH

2 under the hyperbolic metric; (d) Compute the Fuchsian groupgenerators. Any finite portion of the universal covering space can beconstructed using these generators.

5.1 Stage one

Figure 3 illustrates the pipeline for the first stage.Suppose we are given a mesh with negative Eulernumber, as shown in frame (a).

1) Use hyperbolic Yamabe flow introduced in the lastsection to compute the hyperbolic metric, such thatall vertex curvature equals to zero.

2) Compute a set of canonical fundamental groupgenerators through a base vertex, as shownin frame (b). We use the method fromEricson [16]. We denote the generators as{a1,b1,a2,b2, · · · ,ag,bg}.

3) Slice the meshM along the fundamental groupgenerators to get an open meshM. The boundaryof M is

∂M = a1b1a−11 b−1

1 · · ·agbga−1g b−1

g .

Isometrically embedM onto the Poincare diskusing the hyperbolic uniformization metric to get a

4

Page 5: Canonical Homotopy Class Representative Using Hyperbolic Structure

fundamental domain, still denoted asM. As shownin frame (c). The embedding method is similar tothat in [4].

4) Compute the Fuchsian group generators corre-sponding to the fundamental group generators.Let γ be a fundamental group generator. BecauseM has been embedded onto the Poincare disk,γ ∈ ∂M, we treatγ as a curve segment on thePoincare disk. We compute the unique Fuchsiantransformationφ , such thatφ maps γ−1 to γ.First a Mobius transformation can be calculatedsuch that the starting vertex ofγ is mapped to theorigin, the ending vertex is mapped to a positivereal number. Similarly we find another Mobiustransformation forγ−1. The composition of thesecond map with the inverse of the first map isthe desired Fuchsian transformation. We denotethe Fuchsian transformations asαi correspondingto ai , β j corresponding tob j .

5.2 Stage two

Suppose a loop is given on the surface, denoted asγ.The following pipeline explains how to find the closedgeodesicΓ homotopic toγ. Figures 4 and 5 illustratetwo key steps: (1) loop lifting and (2) geodesic tracing.

1) Perturbableγ to make it transverse all the funda-mental group generators. As shown in frame (a)and (b).

2) Choose a vertexv ∈ γ, trace γ. Once γacross a fundamental group generator, recordthe Id of the generator. After tracing backto the starting vertexv, a word is obtained.w = σ1σ2 · · ·σk, where σi(1 ≤ i ≤ k) is in{a1,b1,a

−11 ,b−1

1 , · · · ,ag,bg,a−1g ,b−1

g }.3) Convert the wordw to

φ = φk ◦φk−1 · · ·φ2 ◦φ1,

whereφi(1≤ i ≤ k) is the Fuchsian transformationcorresponding toσi .

4) Lift γ to γ in the universal covering space, calledloop lifting . Start from M, trace γ on S andextend γ on S accordingly. Onceγ crossesσk,transform the current fundamental domain byφk,continue the tracing on the new fundamental do-main. As shown in Figure 4, a loopγ intersectsthe fundamental group generators in the order ofw = {a−1

2 ,a−12 ,b2,a

−11 ,a−1

1 ,b1}. γ is lifted to Γin the universal covering space, in frame (c)Γcrosses the fundamental domain througha−1

2 . Inthe followings frames,Γ crosses different funda-mental domains. The whole liftedΓ is shown inframe (j). This step can be omitted in practice,only the word of intersectionw is needed.

5) Compute the axis ofφ . First compute the attractorand repulser ofφ , then determine the uniquegeodesic through them. Denote the axis asΓ.

6) Trace Γ from the central fundamental domainM, called geodesic tracing. OnceΓ crosses the

TABLE 1COMPUTATIONAL T IME .

Figure Model Genus Faces Vertices Time (s)Fig. 3 2-hole 2 4118 2057 13Fig. 6 Amaphora 2 20010 10003 107Fig. 7 Knotty 2 10000 6066 36Fig. 8 3-hole 3 3514 1754 12Fig. 9 3-torus 3 16000 8002 87

boundary of the current fundamental domain, findthe Fuchsian transformationφk corresponding theboundary segment, transform the current funda-mental domain byφk, and continue the tracingon the new fundamental domain. At the sametime, during the tracing, projectΓ to the originalsurface, denoted asΓ. If Γ becomes a smoothclosed loop, stop tracing. ThenΓ is the canon-ical representative for the homotopy class[γ].As shown in Figure 5, frame (c) to (i) illustratethe tracing process. Frame (j) shows the tracingresult of the geodesic. Frame (a) and (b) showthe geodesic on the original surface, which is thecanonical representative of the homotopy class[γ].

6. EXPERIMENT RESULTS

We implement our algorithm using generic C++ on aWindows platform. The experiments are conducted on adesktop with 2.33 GHz dual CPU and 3.98GB RAM.

The surfaces are represented as triangle meshes usinghalf-edge data structure. We apply Newton’s methodfor optimizing the discrete hyperbolic Yamabe energy,which involves solving large sparse linear system. Weuse Matlab C++ library for the numerical computation.The computational time on test data is reported in Table1. Figures 3, 6, 7, 8 and 9 show the hyperbolic metricusing the hyperbolic Yamabe flow method. Table 2illustrates the exact values for corresponding Fuchsiangroup generators.

Figures 1, 4 and 5 show the results on a two-holemodel, which has 16,472 triangles and 8,234 vertices.The algorithm takes 13 seconds to compute the hyper-bolic metric with error boundε = 1e−10, and takes 1second for the rest. The timing is reported in the table.

We apply our algorithm for detecting whether twoloops are homotopic as shown in Figure 1 and Figure 5.The initial loops and their unique homotopy representa-tives are illustrated in front and back views respectively.We can see that the representatives are not identical,therefore, the loops are not homotopic.

Figures 10, 11 and 12 give the results on a three-holemodel, which has 3,514 triangles and 1,754 vertices.The algorithm takes 12seconds to compute the hyper-bolic metric with error boundε = 1e−10, and takes 1second for the rest.

7. CONCLUSION

This paper introduces a method to compute the canon-ical representative for each homotopy class based on hy-perbolic structure of the surface. A novel curvature flowis introduced, discrete hyperbolic Yamabe flow, which

5

Page 6: Canonical Homotopy Class Representative Using Hyperbolic Structure

(a) Input loop front view (b) Input loop back view

a1

b1

a−1

1

b−1

1

a2

b2

a−1

2

b−1

2

a2

b2

a−1

2b−1

2a1 b1

a−1

1

b−1

1

(c) 1. pass througha−12 (d) 2. pass througha−1

2

a2

b2a−1

2b−1

2a1

b1

a−1

1

b−1

1

b−1

2

a1

a−1

1

b−1

1 a2

a−1

2

b1

b2

(e) 3. pass throughb2 (f) 4. pass througha−11

a1

b1

a−1

1b−1

1

a2

a−1

2

b−1

2

b2

a1

b1a−1

1 b−1

1

b−1

2

a2

a−1

2

b2

(g) 5. pass througha−11 (h) 6. pass throughb1

b−1

1

a2

b2

a−1

2

b−1

2a1 b1

a−1

1

(i) Final ending (j) Whole lift inH2

Fig. 4. Algorithm pipeline: Stage 2. Loop lifting. A loopγintersects the fundamental group generators in the order ofw ={a−1

2 ,a−12 ,b2,a

−11 ,a−1

1 ,b1}. γ is lifted to Γ in the universal coveringspace. (c) to (i) illustrate thatΓ crosses the fundamental domainthrough a−1

2 ,a−12 ,b2,a−1

1 ,a−11 and b1 orderly. (j) the lifting result of

loop Γ.

is the gradient flow of Yamabe energy. The convexity of

Γ

γ

γ

Γ

(a) Closed geodesic front view (b) Closed geodesic back view

a−1

2

a−1

2

(c) 1.pass througha−12 (d) 2. pass througha−1

2

b2a−1

1

(e) 3.pass throughb2 (f) 4. pass througha−11

a−1

1

b1

(g) 5.pass througha−11 (h) 6. pass throughb1

(i) Final ending (j) Whole lift inH2

Fig. 5. Algorithm pipeline: Stage 2. Geodesic tracing. (a) and (b) thegeodesic on the original surface, which is the canonical representativeof the homotopy class[γ ]. (c) to (i) illustrate the tracing process. (j)the tracing result of the geodesic.

Yamabe energy grantees the convergence of the flow andthe uniqueness of the solution. The geodesic is computedas the axis of the Fuchsian transformation correspondingto the given homotopy class.

The algorithm is explained in details by illustrations.

6

Page 7: Canonical Homotopy Class Representative Using Hyperbolic Structure

(a) Fundamental group (b) Universal covering

generators space

Fig. 6. Hyperbolic metric and the Fuchsian group generatorsfor theAmphora model.

(a) Fundamental group (b) Universal covering

generators space

Fig. 7. Hyperbolic metric and the Fuchsian group generatorsfor theKnotty model.

(a) Fundamental group (b) Universal covering

generators space

Fig. 8. Hyperbolic metric and the Fuchsian group generatorsfor the3-hole model.

(a) Fundamental group (b) Universal covering

generators space

Fig. 9. Hyperbolic metric and the Fuchsian group generatorsfor the3-torus model.

The efficiency and efficacy of the algorithm is demon-strated by various experiments on high genus surfaces.

There are many potential applications, such as findingthe shortest word for a homotopy class in the fun-damental group; shape comparison; canonical surface

(a) Front view (b) Back view

(c) Left view (d) Right view

Fig. 10. Homotopy geodesic on 3-hole torus 1.

(a) Front view (b) Back view

Fig. 11. Homotopy geodesic on 3-hole torus 2.

segmentation etc. The whole method can be generalizedto discrete 3-manifolds directly. In the future, we willexplore along these directions.

ACKNOWLEDGMENTS

This work is partially supported NSF CCF-0448399,DMS-0528363, DMS-0626223 and NSFC-60628202.

REFERENCES

[1] R. S. Hamilton, Three manifolds with positive Riccicurvature, Journal of Differential Geometry, 1982,17: 255-306.

[2] B. Chow and F. Luo, Combinatorial ricci flows onsurfaces, Journal Differential Geometry 2003, 63(1):97-129.

[3] M. Jin, F. Luo and X. Gu. Computing surfacehyperbolic structure and real projective structure,SPM ’06: Proceedings of the 2006 ACM Symposiumon Solid and Physical Modeling, 2006: 105-116.

7

Page 8: Canonical Homotopy Class Representative Using Hyperbolic Structure

(a) Front view (b) Back view

Fig. 12. Homotopy geodesic on 3-hole torus 3.

TABLE 2FUCHSIAN GENERATORS.

Model Generator z0.real z0.imag θa1 0.830937 0.419568 2.26744

Fig. 5 b1 0.0785149 0.96558 1.677182-hole a2 -0.703859 -0.54534 2.03098

b2 0.186691 -0.943763 1.48676

Model Generator z0.real z0.imag θa1 0.478882 -0.836208 2.00886

Fig. 6 b1 0.855238 -0.204422 1.74862Amphora a2 -0.870138 -0.416603 1.91529

b2 -0.796646 -0.579835 2.69912

Model Generator z0.real z0.imag θa1 0.892765 -0.26021 2.38572

Fig. 7 b1 0.38619 0.921787 1.30992Knotty a2 -0.852484 0.260488 2.1975

b2 -0.129811 -0.990796 0.93043

Model Generator z0.real z0.imag θa1 -0.977168 0.092502 1.99611

Fig. 8 b1 -0.961125 -0.184911 2.574823-hole a2 0.493651 -0.840193 1.74765

b2 0.743817 -0.622356 2.4617a3 0.408767 0.888353 1.876b3 0.143125 0.967503 2.56559

Model Generator z0.real z0.imag θa1 -0.451831 -0.833918 1.92286

Fig. 9 b1 0.272943 -0.89847 1.841513-torus a2 0.665799 0.729522 2.57521

b2 0.606916 0.792085 2.90907a3 -0.674179 0.689653 1.96083b3 -0.910911 0.39714 2.43426

[4] M. Jin, J. Kim, F. Luo, and X. Gu. Discrete surfacericci flow, IEEE TVCG 2008, 14(5): 1030-1043.

[5] M. Jin, W. Zeng, F. Luo and X. Gu, ComputingTeichmuller Shape Space, IEEE TVCG 2008, 99(2):1030-1043.

[6] X. Li, Y. Bao, X. Guo, M. Jin, X. Gu and H. Qin.Globally Optimal Surface Mapping for Surfaces withArbitrary Topology, IEEE Transactions on Visualiza-tion and Computer Graphics, 2008, 14(4): 805-819.

[7] W. Zeng, X. Yin, Y. Zeng, Y. Wang, X. Gu, and D.Samaras, 3D Face Matching and Registration Based

on Hyperbolic Ricci Flow. In CVPR 2008 Workshopon 3D Face Processing, 2008.

[8] F. Luo, X. Gu and J. Dai, Variational Principlesfor Discrete Surfaces, Advanced Lectures in Mathe-matics, Vol.4, International Press of Boston, August2008.

[9] M. Jin, F. Luo and X. Gu. Computing generalgeometric structures on surfaces using Ricci flow.Computer-Aided Design 2007, 39(8): 663-675.

[10] Feng Luo. Combinatorial yamabe flow on surfaces.Commun. Contemp. Math., 6(5):765-780, 2004.

[11] Boris Springborn, Peter Schroder, and UlrichPinkall. Conformal equivalence of triangle meshes.ACM Transactions on Graphics 2008, 27(3): 1-11.

[12] G. Vegter and C. Yap. Computational complexityof combinatorial surfaces. In Proceedings of the6th ACM Symposium on Computational Geometry,1990: 102-111.

[13] H. Schipper. Determining contractiblity of curves.In Proceedings of the 8th ACM Symposium onComputational Geometry, 1992: 358-367.

[14] T. K. Dey and H. Schipper. A new techniqueto compute polygonal schema for 2-manifolds withapplication to nullhomotopy detection. Discrete andComputational Geometry 1995, 14: 93-110.

[15] T. K. Dey and S. Guha. Transforming curves onsurfaces. Journal of Computer and System Sciences1999, 58: 297-325.

[16] J. Erickson and K. Whittlesey, Greedy optimal ho-motopy and homology generators. In: SODA 2005:1038-1046.

[17] M. Kass, A. Witkin, and D. Terzopoulos. Snakes:Active contour models. In International Journal ofComputer Vision 1988: 321-331.

[18] Y. Lee and S. Lee. Geometric snakes for triangularmeshes. Computer Graphics Forum at Eurographics2002, 21(3): 229-238.

[19] X. Yin, M. Jin and X. Gu. Computing ShortestCycles Using Universal Covering Space, Computer-Aided Design and Computer Graphics, 2007 10thIEEE International Conference.

[20] J. Hersberger and J. Snoeyink. Around and around:computing the shortest loop. In Proceedings of thethird Canadian Conference on Computational Geom-etry, 1991: 157-161.

[21] J. Hersberger and J. Snoeyink. Computing min-imum length paths of a given homotopy class. InProceedings of the second Workshop on Algorithmsand Data Structures, 1991.

[22] M. Jin, F. Luo, S. Yau, X. Gu. Computing geodesicspectra of surfaces, In SPM 2007: 387-393.

[23] J. R.Munkres. Elements of algebraic topology.Addison-Wesley Co., 1984.

[24] Richard Schoen, Shing-Tung Yau. Lectures ondifferential geometry, International Press of Boston,1994.

[25] A. Bobenko, B. Springborn, U. Pinkall. Discreteconformal equivalence and ideal hyperbolic polyhe-dra. In preparation.

[26] M.Jin, W.Zeng, X.Gu. Computing Fenchel-NielsenCoordinates in Teichm ”uller Shape Space, In SMI2009.

[27] T. K. Dey, K. Li, J. Sun, D. Cohen-Steiner. Com-puting geometry-aware handle and tunnel loops in3D models, ACM Trans. Graph., 27(3), 2008

8