<<

Downloaded by guest on October 2, 2021 www.pnas.org/cgi/doi/10.1073/pnas.1809731116 each maps conformal between mappings triangle. the and discrete domain approximated Lipschitz the uniformly be composing between can mapping by domains Riemann the bijective. Lipschitz that be bounded show to two we known consequence are a and As con- uniformly discrete converge the maps triangulations formal Delaunay converge for maps Additionally, tions. conformal in mapping discrete Riemann these the to that linear discrete sparse show obtain a We solving we by way system. computed be natural can a which maps in conformal of principle minimizer discretiz- variational By the space. the affine is Riemann ing appropriate the It an case over principle: energy this variational Dirichlet in the linear that show a We has triangle. mapping 2018) a 12, to June domains review Lipschitz the for bounded (received in from 2018 mappings 19, Riemann November approved consider and We CA, Berkeley, California, of University Kirby, Robion by Edited Israel 7610001, Rehovot and Israel; 7610001, Rehovot a Dym Nadav conformality discrete mappings and Riemann for principle variational Linear apns fe h iceesrcuea usini trian- a is question at structure discrete gulation geometry conformal the of differential analogues Often discrete discrete mappings. developing of at aims field (14) emerging (DDG) the in themes deep geometric of frontier new and (11–13). the (8–10) learning in vision role important and an medi- graphics play 4), computer now (3, and (5–7), morphology imaging (2), cal engineering found in have mappings applications other Biconformal many between surfaces. Riemann mappings of biconformal classes of and existence and theorem the theorem uniformization mapping the establish Riemann The between the domains), generalize domains. theorem Lipschitz the Keobe’s a of of closures to definition ref. the extends a (see mapping for domains biconformal Lipschitz 12.9 are definition surfaces 1, mapping both Riemann the When by sub- guaranteed theorem. open is plane connected complex the simply of sets between mappings biconformal of B ytm epoeta hs iceempig ovrei the linear in sparse converge single mappings a discrete solving these of that consists prove it We that system. sense the in ear isosceles). and right- or triangulation where equilateral case Delaunay the a for (15) is algorithm Orbifold–Tutte recent domain the triangle general con- a simply a domain between polygonal elements, mapping nected finite conformal discrete piecewise-linear defining simple for on based algorithm, an domain Lipschitz planar-bounded Ω a between mapping Riemann mapping biconformal triangulation the the of to refinement converge under for the a map Does benchmark of Namely, conformal important convergence. analogue discrete alter- One is discrete mappings or plane. a conformal vertices the define discrete its into to place map lengths to edge conformal how its is set asked natively question the and Ω, eateto optrSineadApidMteais aut fCmue cec n ple ahmtc,Wimn nttt fScience, of Institute Weizmann , Applied and Science Computer of Faculty Mathematics, Applied and Science Computer of Department oiae npr yteeapiain,oeo h central the of one applications, these by part in Motivated h loih o optn iceecnomlmp slin- is maps conformal discrete computing for algorithm The the for principle variational linear a construct we paper this In n ragedomain triangle a and cnomlmpig ewe ufcsaehomeomor- existence are The orientation. and surfaces preserve between which phisms mappings iconformal M (V = a,1,2 | iceedfeeta geometry differential discrete a Slutsky Raz , , E , F ) fapaa-one isht domain Lipschitz planar-bounded a of b eateto ahmtc,Fclyo optrSineadApidMteais ezanIsiueo Science, of Institute Weizmann Mathematics, Applied and Science Computer of Faculty Mathematics, of Department Ω T H T ihabtaytriangulation arbitrary with 1 eueti rnil odevise to principle this use We . hscasi atclrincludes particular in class This . vnfrnnDlua triangula- non-Delaunay for even , b,1 n ao Lipman Yaron and , T satinl riod(i.e., orbifold triangle a is M? | nt elements finite a,1 M and M 1073/pnas.1809731116/-/DCSupplemental hsatcecnan uprigifrainoln at online information supporting contains article This 2 1 the under Published Submission.y Direct PNAS a is article This interest.y of conflict no declare authors The uhrcnrbtos .. .. n ..dsge eerh efre eerh and research, performed research, designed Y.L. paper. and the wrote R.S., N.D., contributions: Author H rbe yrpaigtennieramsil set admissible nonlinear variational the this replacing of by relaxation problem map- a introduce admissible We however). of convex, is set respective the pings, setting, simplified this in particular a = Γ consider of Instead We problem: sider variational mapping. Plateau’s Riemann of instance the is gen- in problem equation differential partial When eral. nonlinear functions, and a of (Dirichlet) to set energy corresponds admissible quadratic varia- nonlinear convex a a a is problem with Plateau’s problem way, tional this Formulated 16). ref. (e.g., map ary mappings parameterization a of energy X Dirichlet the minimizing by solved prescribed a spanning Γ area minimal with problem surface Plateau’s a case. for 2D seeks the in problem Plateau’s of relaxation and uniform is convergence the Lip- scenario H general this to In extended domains. be schitz can domains polygonal for obtained mapping map- in Riemann orbifold-Tutte the the Finally to of uniformly composition converges the pings that prove closure we the tions domains over polygonal uniform connected also is vergence triangulation triangle the initial and the Delaunay where algorithm, triangulation orbifold-Tutte the of ment owo orsodnesol eadesd mi:[email protected] Email: addressed. be should correspondence work.y whom To this to equally contributed Y.L. and R.S., N.D, eutcnomlmpig a ecmue outyand robustly computed be can efficiently. mappings conformal As result problem. linear a a domain, becomes target mappings suitable a In conformal choosing computing fields. by that related show and we medical geometry, paper vision, morphology, this and differential in graphics discrete applications computer many in imaging, found task has central which a is between domains mappings (angle-preserving) conformal Computing Significance ⊂ 1 1 h iervrainlpicpei eie rmatgtlinear tight a from derived is principle variational linear The : B nalcmatsbesof subsets compact all on ∂ R omt h imn mapping Riemann the to norm Ω ⊂ T d → C , (Ω, stebs oan n emk atclrcoc of choice particular a make we and domain, base the as d R X R ti elkonta lta’ rbe a be can problem Plateau’s that known well is It 3. 2, = d X IAppendix SI ∂ Γ where , 2 | y ∂ T xn h riae ftecresof corners the of preimages the fixing , C ∈ ⊂ B o lta’ aitoa rbe snnier(it nonlinear is problem variational Plateau’s for ), NSlicense.y PNAS R : ( ∂ 2 B ¯ B h nqemnmzro lta’ variational Plateau’s of minimizer unique the , Γ) , B → steoe ntds,aogaladmissible all among disc, unit open the is Γ eso htteecnegneresults convergence these that show we iha(eky oemrhcbound- homeomorphic (weakly) a with xn he onso h boundary the on points three fixing utemr,i h aeo the of case the in Furthermore, M. T Ω. . sa ulda riod h con- the orbifold, Euclidean an is y Ω, Ω 0 ihDlua triangula- Delaunay with www.pnas.org/lookup/suppl/doi:10. Ω : Φ NSLts Articles Latest PNAS C (B T → o w simply two For Ω. ¯ hrfr,it Therefore, Γ). , C ne refine- under (Ω, T Ω : Φ tl,even Still, . B ∂ econ- we T | → ) M f6 of 1 with Ω is 0 .

APPLIED MATHEMATICS a linear superset of admissible mappings C∗(Ω, ∂T ) ⊃ C(Ω, ∂T ). Schwarz–Christoffel formula (17, 18), the zipper algorithm (19), Surprisingly, this relaxed variational problem is tight; that is, it polynomial methods (20), and others (21, 22). has a unique solution and this solution is the Riemann map- Probably the first discrete conformal mapping is the ping Φ:Ω → T . Since this variational problem corresponds to packing introduced in ref. 23. Circle packing defines a discrete a linear partial differential equation, we can employ more or conformal (more generally, analytic) mapping of a triangulation less standard finite-element theory to prove convergence of the by packing with different radii centered at vertices in the algorithm. plane. These radii can be seen as setting edge lengths in M. Con- The power of this approach is illustrated in Fig. 1, where vergence of circle packing to the Riemann mapping was proved we consider the problem of computing the Riemann mapping in refs. 24 and 25. An efficient algorithm for circle packing was from a “Koch ” to a triangle. This Koch polygon is the developed in ref. 26. A variational principle for circle packing polygon obtained by the first six iterations of the iterative pro- was found in ref. 27. Discrete Ricci flow was developed in ref. 28 cess used to create the fractal Koch snowflake. Mapping the and was shown to converge to a circle packing. Circle patterns Koch polygon is challenging due to the fragmented nature of (29) generalize circle packings and allow nontrivial intersection the boundary and requires a high-resolution map which would of circles; a variational principle for circle patterns was discov- be difficult to achieve using nonlinear methods. We obtain such ered in ref. 30. In ref. 31 discrete conformality is defined by a high-resolution map by computing our discrete averaging conformal scales at vertices; in ref. 32 an explicit varia- from a triangulation of the polygon with approximately 6 mil- tional principle and an efficient algorithm are developed for this lion vertices. Solving for the conformal map approximation in equivalence discrete conformality relation. Note that while cir- this case, using Matlab’s linear solver, takes approximately 2 min cle packing has a convex variational principle, it is not linear. on an Intel Xeon processor. Additionally circle packing was shown to converge uniformly on The quality of the discrete conformal mapping is visualized in compact subsets of Ω while our algorithm converges uniformly the standard fashion: A scalar is defined on the trian- on all of Ω¯ and also converges in H 1. gle, which represents a black-and-white coloring of a grid. The A natural tool, which we also use in this paper, to han- function is then pulled back by the computed discrete Riemann dle discrete conformality of triangulations is the finite-elements mapping. Note that the 90◦ angles are preserved by the map. The method (FEM) (33). Since Riemann mappings consist of two right-hand side of Fig. 1 visualizes the high resolution of the map conjugate harmonic functions, researchers have constructed dis- near the boundary. crete conformal mappings by pairs of conjugate discrete har- monic functions defined via the Dirichlet (34–36). These Related Work algorithms are linear but do not satisfy any prescribed bound- The notion of a discrete conformal mapping of a triangulation ary conditions and are not known to converge to the Rie- M is a rather well-researched area. It is rich with constructions mann mapping. Convergence to the Riemann mapping, or more and algorithms, each with its own definition of discrete confor- generally the solution of Plateau’s problem, can be obtained mality, often inspired by some property of smooth conformal by minimizing the Dirichlet energy (37, 38) or a conformal mappings. Although we focus here on discrete conformal map- energy (39), while imposing nonlinear boundary conditions. Solv- pings, we note that there are other numerical algorithms with ing these nonconvex variational problems is a computational convergence guarantees to the Riemann mapping based on the challenge.

Fig. 1. (Left) An approximation of the notorious Riemann map from a polygonal approximation of the Koch snowflake (computed with six recursions) to a triangle. The approximation consists of a mesh with roughly 6 million vertices and captures different resolutions of this map as shown in the zoom-in (Right).

2 of 6 | www.pnas.org/cgi/doi/10.1073/pnas.1809731116 Dym et al. Downloaded by guest on October 2, 2021 Downloaded by guest on October 2, 2021 hc a eesl civdb ieg subdivision. midedge by achieved easily be can which constraints, line val- boundary consider operator, to trace vital the is mappings considering it of problem ues Plateau’s In (i.e., functions by denote We follows: i.2. Fig. in iii) follows: 1. Definition variational Plateau’s in mappings admissible (16): of problem set the define to H operator, boundary mappings the extends that mappings distributional admissible the of in set interpreted The are sense. partial the and and domain Lipschitz connected domain simply bounded, Ω a consider Mappings We Riemann for Principle Variational Linear A endt etecouein conditions: following closure the the be to defined 2. Definition space: mapping admissible relaxed the consider Then, 2A). (Fig. connecting arc ary mapping map a of energy Dirichlet y the where is problem (w.r.t.) to respect with y tal. et Dym AB ii) ii) i) i) (u ⊂ 1 erlxEq. relax We h nqemnmzro Eq. of minimizer unique The C (Ω, , otecreso h triangle the of corners the to TX TX X TX X (Ω, |·| R v 2 )) ∈ ∈ eoe h tnadEciennr fa2vco in 2-vector a of norm Euclidean standard the denotes h disbeset admissible The (A) R ∂ ∈ T sahmoopimbtenteboundaries the between homeomorphism a is ae he fixed, three takes H H iha retdboundary oriented an with ⊂ T 2 T Ω : Φ ) C Ω : 1 1 X Let ). (Ω, (Ω, eg,term166i e.4) eaenwready now are We 40). ref. in 1.6.6 theorem (e.g., (∂ h eae e famsil mappings, admissible of set relaxed The h disbefnto set function admissible The R → C hc r otnoson continuous are which Ω, T → 2 X .(B) *. R R R kX ihcorners with 2 2 1 R E (x = Γ 2 ) ). D 2 X i p ∩ yrlxn h oemrhccondition homeomorphic the relaxing by sdfie as defined is H hc aifiscondition satisfies which ). k ⊂ i (X 1 2 C min ∈ → , s.t ovrec eursol eua triangulations, regular only requires convergence X ∂ ∂ = y H ( = ) H Dvrino lta’ variational Plateau’s of version 2D A Ω. Ω, ) Ω). p ¯ oiieyoine points oriented positively 1 2 T 1 i 1 C +1 (Ω, kX (Ω, ihfiieSblvnorm Sobolev finite with ) i H 2 1 n t eaainuiguodrdinfinite unordered using relaxation its and X E eoetecoe bound- closed the denote 3, 2, 1, = D Z 1 (for k R c C ∈ (Ω, R Ω c (X L 2 1 2 1 2 , 2 |X ) , hsi omlydn by done normally is This ). (Ω) c (Ω, ) c R i T h ooe pc fpisof pairs of space Sobolev the 2 u 2 3 = , 2 1 , | c : + 2 ) c ∂ ∂ 3 H 3 + steuiu Riemann unique the is ftempig satisfying mappings the of T Ω TX E ∈ set T ∈ 1 C ), |X D C (Ω, R oteetrt of entirety the to Ω, ¯ n agttriangle target a and (Ω, (Ω, (X 2 v = p . | X iii. 4 R 2 oiieyoriented positively ). X ∂ ∂ = 2 (u T T ) | ∂ p ) → , p ) Ω 1 v 1 C sdfie as defined is endon defined , sdfie as defined is and ( = ) , L ∂ ∗ p (Ω, Ω 2 2 (∂ , and c p x Ω, ∂ 4 3 (u T = ∈ [1b] [1a] R , ∂ ), R ∂ c v 2 T 1 Ω 2 ), ), is ii ) . , iii) nuain r nsm interval some in are angulations onto require nonsurjective or noninjective > ε triangula- h the domain of polygonal a refinement triangulating under map Riemann tion Eq. the of to minimum norm the to domain approximation Lipschitz polygonal a Ω from mappings biconformal pute minimizer. map mann 1. Theorem following: the in as is, that tight, is in points of lines images only requires le a ecmue fcetyb h nrmna Delaunay incremental the fam- by example. triangulation efficiently for Such computed algorithm, uniform. be also can is ilies convergence the than then less is angles opposite of all if that show ther the is triangulation of regularity icws-iercniuu ucin endoe h triangu- the over lation defined functions continuous piecewise-linear hoe 2. Theorem following: the prove We Let equation). from multipliers Lagrange follows (the convexity (strict 1 convex Lemma strictly problem constrained optimization linearly quadratic finite-dimensional, a is This Eq. l once oyoa domains; polygonal connected in ply (Proof 1 Corollary two between mapping Riemann the approximate : can we 2, rem isosceles that right-angled or If triangle equilateral Eq. then an triangle, is, that ifolds, isosceles, right-angled or equilateral Furthermore, satisfies ⊂ T in ihmxmleg length edge maximal with tions Φ(p → ntescn ato h ae eutilize we paper the of part second the In relaxation the that claims paper this of result main first The 2A Fig. Let ntecs httetriangle the that case the In to M 0 a hr h nnt line infinite the where n nntl xed h edge the extends infinitely and i 2 R enmn sasqec frglrtriangulations regular of sequence a is Refinement M. yrglrtinuainw enta l nlso h tri- the of angles all that mean we triangulation regular By 0. = ) Ψ i T ` T h rf 3 .14.Oesml udvso ueta preserves that rule subdivision simple One 124). p. 33, (ref. are i 2 M Λ h TX n ohn rvnstebudr map boundary the prevents nothing and , o polygonal For . sDlua and Delaunay is eatriangle; a be X h c sbjcie ic tas ovre nfrl by uniformly converges also it Since bijective. is h i ⊂ eo)adi nqeysle i prelna system linear sparse a via solved uniquely is and below) , h izmtosfrapoiaigteslto of solution the approximating for methods Ritz The . lutae n ftelines the of one illustrates nyt ecniuu nteboundary. the on continuous be to only (p Ω : Φ i Let rbe Eq . problem Plateau’s relaxed The H ,2 3; 2, 1, = + ) fall if 1 (Ω, Ω T → b ⊂ i min 3 0, = R s.t X M R seatyteobfl-ut loih (15). algorithm orbifold-Tutte the exactly is Ω : Φ 2 M IAppendix SI 2 satisfying ) min and h h s. lim h eso htapeeielna FEM piecewise-linear a that show we Ω, X etefiiedmninllna pc of space linear finite-dimensional the be easml once oyoa domain; polygonal connected simply a be →0 r -once n eany(.. sum (i.e., Delaunay and 3-connected are t. T X E are T → D ` M kΨ C ∈ i sa riod ti rvdi e.15 ref. in proved is it orbifold, an is (X ∀p X E = h π D h cnetdDlua and Delaunay 3-connected ∗ {Z C ∈ Φ(p ) eteReanmpigsatisfying mapping Riemann the be h easqec frglrtriangula- regular of sequence a be ∈ and ) (X − (Ω, T 1 . 0+ [0 [c hr h aia desize edge maximal the where Ω, Γ ). hntesolution the Then → Φk h ovrec sas uniform. also is convergence the ∈ ∗ i ) soeo h ulda orb- Euclidean the of one is i i ⊂ T (Ω, , ∂ ∂ Let , = ) ∂ R c 4 T Ω T T 0 = ε, i 2 ` +1 efur- We 2B. Fig. in shown ) i ∀i lont htw now we that note Also . T c | π sa ulda orbifold, Euclidean an is oleo h respective the on lie to oeta condition that Note . R ,Ω Ω, ∩ NSLts Articles Latest PNAS Ψ a i . 2 ] ) , − 2 i ,2 3 2, 1, = T ntetriangle the in Λ h i ovre nthe in converges Z ε] ea qiaea or equilateral an be h ,2 3 2, 1, = eoeti solution. this denote 0 hoe 1 Theorem . ⊂ + o oeconstant some for R b TX 2 i 2 , 0 = a h Rie- the has Ψ , etosim- two be saunique a as rmbeing from h } fEq. of T supports ocom- to | . Theo- T f6 of 3 [2b] [3b] [2a] [3a] M H iii is h 3 1

APPLIED MATHEMATICS right-angled isosceles triangle; ξ :Ω → Ω0 be the unique Riemann where (∗) follows from pointwise application of the Cauchy– 0 0 2 mapping satisfying ξ( ) = pi , i = 1, 2, 3; and Mh , Mh be two Schwarz inequality in R , assuming without loss of generality 0 ∗ sequences of 3-connected Delaunay regular triangulations of Ω, Ω (w.l.o.g.) that |ai | = 1; (∗∗) follows from X ∈ V (Ω, ∂T ) and con- 0 2×2 (resp.) with maximal edge length ≤ h; and let Ψh ,Ψh be the discrete dition iii in Definition 2; and A ∈ R is the invertible matrix 0 −1 p T conformal maps from these triangulations to T . Then, (Ψh ) ◦ Ψh with rows |Γi |ai . Finally, converges to ξ uniformly. −1 −1 |x| = |A Ax| ≤ A |Ax|. [7] Proof of Tightness (Theorem 1 ) 2,2 In this section we prove Theorem 1, that is, show that problem Eq. Using Eqs. 6 and 7, we achieve our goal stated in Eq. 5, where 2 has a unique solution and this solution is the conformal map Φ:Ω → T . We start with Lemma 1, showing that ED restricted to −1 ∗ C1 = A CTrace(1 + CPoincar´e). C (Ω, T ) is coercive. Uniqueness of the minimizer then follows. 2,2 ∗ Let us denote by V (Ω, ∂T ) the vector space which consists the 1 ∗ 2 linear part of C (Ω, ∂T ). That is, Hence, the constant C = (CPoincar´e + C1vol(Ω) 2 ) and there- fore also the constant c = c(Ω, ∂T ) in the theorem formulation

∗ ∗ are dependent only on Ω, T , and the choice of three points V (Ω, ∂T ) = {X − Y X , Y ∈ C (Ω, ∂T )}. [4] p1, p2, p3 ∈ ∂Ω. 2 An important consequence of the coercivity of ED is the Lemma 1. The Dirichlet energy satisfies ED (X ) ≥ c kX k for some uniqueness of the solution of Eq. 2: constant c > 0, and any X ∈ V∗(Ω, ∂T ). The constant c depends only on Ω, T , and the choice of the three points p1, p2, p3 ∈ ∂Ω. Lemma 2. The relaxed Plateau’s problem Eq. 2 has at most a single ∗ 2 Proof: Let X ∈ V (Ω, ∂T ). Since kX k = ED (X ) + solution. 2 ∗ kX k 2 2 , it is enough to show a bound of the form Proof: Assume Eq. 2 has two solutions X , Y ∈ C (Ω, ∂T ). L (Ω,R ) Restricting ED to the infinite line tX + (1 − t)Y , t ∈ R, results 2 in a coercive 1D quadratic polynomial in t and hence it is strictly kX kL2(Ω, 2) ≤ CED (X ), R convex. Thus X = Y . 2 1 R Lemma 2 implies that if the conformal map Φ is a solution to for some C > 0. Denote R 3 x = |Ω| Ω X the average of X . 1/2 Eq. 2, then it is unique and the relaxation is indeed tight. To show Denote |X |D = ED (X ) . We claim that it is sufficient to show Φ is a solution we first recall that the Dirichlet energy is an upper that for some C1 > 0, bound of the area functional,

|x| ≤ C1|X | . [5] D ED (X ) ≥ EA(X ), [8] To see this, use the triangle inequality followed by Poincar´e where inequality [ref. 1, theorem 12.23; note that Ω is in particular a Z 1 connected extension domain for H (Ω, R)], EA(X ) = |det [Xu Xv ]| Ω

kX k 2 2 ≤kX − xk 2 2 + kxk 2 2 L (Ω,R ) L (Ω,R ) L (Ω,R ) is the area functional. This inequality can be proved using 1 2 2×2 1 the inequality | det A| ≤ |A| , where A ∈ R and |·| is the ≤C |X | + (Ω) 2 |x| 2 F F Poincar´e D vol Frobenious norm of a matrix. When A is a similarity matrix,  1  2 equality holds. For the conformal map Φ, [Φu ,Φv ]is a similarity ≤ CPoincar´e + C1vol(Ω) |X | , D matrix everywhere in the Ω and therefore 5 where for the last inequality we used Eq. and in the second to E (Φ) = E (Φ) = |T | , last inequality D A 1 2 kxk 2 2 = vol(Ω) |x|. |T | T L (Ω,R ) where denotes the area of the triangle . It follows that to Φ We now bound |x| as in Eq. 5. Using the trace inequality and the show that is a solution to Eq. 2, and thus conclude the proof of Poincar´e inequality yet again, we have Theorem 1, it is sufficient to prove the following lemmas: Lemma 3. Every X ∈ C∗(Ω, ∂T ) ∩ C (Ω,¯ 2) ∩ C ∞(Ω, 2) satis- kX − xk 2 2 ≤Ctrace kX − xk [6] R R L (∂Ω,R ) fies ED (X ) ≥ |T |. ≤Ctrace(1 + CPoincar´e)|X |D . Lemma 4 (Proof in SI Appendix ). C∗(Ω, ∂T ) equals the closure in 2 2 1 2 ∗ 2 ∞ 2 The square norm of L (∂Ω, R ) is the sum of the squared norm H (Ω, R ) of C (Ω, ∂T ) ∩ C (Ω,¯ R ) ∩ C (Ω, R ). over each boundary arc Γi , i = 1, 2, 3. Denote the length of Γi by Proof of Lemma 3: Take an arbitrary X ∈ C∗(Ω, ∂T ) ∩ 2 ∞ 2 |Γi |. So by omitting the last arc we obtain C (Ω,¯ R ) ∩ C (Ω, R ). We first want to prove that every q T p ∈ Ω 2 in (the interior of the triangle) has a preimage . 2 X 2 Assume q ∈ T ; the of q w.r.t. the restriction kX − xk 2 2 ≥ kX − xk 2 2 L (∂Ω,R ) L (Γi ,R ) of X to ∂Ω is w(q, TX ) = 1. To see that, consider a home- i=1 omorphism Y : Ω¯ → T¯ satisfying Y (pi ) = ci , i = 1, 2, 3 (e.g., 2 (∗) 2 X T the Riemann mapping). Consider the H (·, t) = (1 − ≥ ai (X − x) L2(Γ ) t)TX (·) + t TY (·). Note that the image of H (·, t) is contained i=1 i 3 in ∪i=1`i and, since q does not belong to the latter set, the 2 2 winding number g(t) = w(q, H (·, t)) is a (∗∗)X T = ai x of t. Since TY : ∂Ω → ∂T is a homeomorphism, we have that L2(Γ ) i=1 i g(1) = w(q, H (·, 1)) = w(q, TY ) = 1. We also know that g(t) ∈ 2 and therefore w(q, TX ) = w(q, H (·, 0)) = g(0) = 1. Now to X T 2 2 Z = (ai x) |Γi | = |Ax| , show that p has a preimage under X we use a mapping degree i=1 argument. Assume toward a contradiction that it does not have

4 of 6 | www.pnas.org/cgi/doi/10.1073/pnas.1809731116 Dym et al. Downloaded by guest on October 2, 2021 Downloaded by guest on October 2, 2021 mapping is energy Dirichlet The nt over inite 1 Lemma Φ in (Proof 7 Lemma as where Eq. over problem Plateau’s relaxed the of mum use we end, triangulations that the of length edge solution maximal the Denoting solver. Eq. linear to direct solved a be correspond- can e.g., the which with, system solving efficiently multiplier by Lagrange linear computed sparse is ing solution This solution. y tal. et Dym that showing and (C 6 Lemma in (proved (40) lemma in set affine following Eq. set admissible the in (Proof 5 Lemma proposition 41, (ref. theorem since boundary 4.4) the by Then preimage. a ai ftecniuu icws-iersaa ucin over functions scalar piecewise-linear continuous M the of basis let Indeed, problem. tion space mapping face, triangle each over defined Ψ mappings piecewise-linear tinuous length triangulations edge regular of series M a Given method. Ritz–Galerkin mapping Riemann the approximate now We Approximations Finite-Element of Convergence C lemma. intuitive following the from follows now lemma .ByrD,e l 21)Agrtm oatmtclyqatf h geomet- the quantify surfaces. genus-zero of automatically alignment Automatic (2014) to J Hass P, Koehl Algorithms 4. (2011) al. et DM, Boyer (2003) 3. PA Laura R, Schinzinger 2. (2009) G Leoni 1.  ∞ ∈ ro fTerm2: Theorem of Proof nlMc Intell Mach Anal surfaces. anatomical of 18226. similarity ric NY). Mineola, Corporation, (Courier 105. h h h C ⊆ (Ω, Λ Ψ → (V = endby defined C h C Λ ∗ E eteslto fEq. of solution the be ∗ 3 kΦ epoeEq. prove We 0. (Ω, sacniuu ucinta safiewe etitdto restricted when affine is that function continuous a is R (Ω, h D by a X sacntn needn ftecoc of choice the of independent constant a is Φ h ysligEq. solving by Φ, Eq. , 2 q (X i mle htti udai omi titypstv def- positive strictly is form quadratic this that implies T − , ) ea). C in = ´ E ∂ Ψ ∈ ∂ x / contains Ψ ∗ h h T k = ) T kΦ h X X (Ω, H is orei ooe Spaces Sobolev in Course First A , h → + ewn opoecnegneof convergence prove to want we , n mlyarsl rmaFMcle C called FEM a from result a employ and ), 36:466–478. j ) F 3 Let ≤ k ( ϕ 1 ∩ − X ehave we Ω), h b hoe 1 Theorem ¯ (Ω, 0 j ∂ x X kl salnal osrie udai minimiza- quadratic constrained linearly a is i ) (v C IAppendix SI IAppendix SI j T Ψ 0, = ∈C ednt by denote we C ϕ Φ Ψ| fteplgnldomain polygonal the of k ∞ x h ) R T j = ) ∗ k kΦ → k R , eteuiu imn a in map Riemann unique the be ∩ f ( 2 IAppendix SI 3b, (Ω,∂ x , , Ω, inf ). ¯ 2|V l then 9 Λ W f ϕ δ − C h sn h olwn lemma: following the using R jk C 0 etitdt h finite-dimensional the to Restricted 3. F ∈ h T 1 kl ´ aslmardcstepolmof problem the reduces lemma ea’s ofra apn:MtosadApplications and Methods Mapping: Conformal | X ∗ , 2 o all for , htidentifies that ) Then, 3. n hrfr Eq. therefore and oa prxmto rbe;i.e., problem; approximation an to : ∀v {x , . . . E (Ω, ∩Λ ) w k ). ). h D j k (q hc ovre oteRiemann the to converges which , eapoiaeteRiemann the approximate We . h } , (X hr sasqec ffunctions of sequence a is There fteiaeof image the If V ∈ ∂ kΦ j |V ϕ , =1 Λ T rcNt cdSiUSA Sci Acad Natl Proc TX W |V h o h aeo completeness): of sake the for ∀X ) h | ) j h − h ≥ ⊂ kl C ⊂ ∩ | ∩ n vertices and otaito.The contradiction. a 0, = ) A ahSc rvdne I,Vol RI), Providence, Soc, Math (Am X eoetesadr FEM standard the denote C ∈ E = R Λ Γ A → k ∗ 2 h i Z (Ω, , (T a ewitna the as written be can , ∗ h oriiyof coercivity the 2, Φ M Ω (Ω, Ω : Φ h∇ϕ ) steuiu mini- unique the as 0, i h T T| |T ≥ ,2 3 2, 1, = ihmaximal with Ω, ∂ ost eo For zero. to goes ) X 3 T k h e fcon- of set the Λ T → Ψ , v ) M a unique a has ∈ h EETasPattern Trans IEEE ∇ h k . ∩ . C V ∈ ϕ to h C Λ sn the using , htis, That . ( . l ∗ h i Ω, Φ ¯ 108:18221– (Ω, h , . Then . sthe as R ∂ 2 ´ ea’s E [9] ) T D ∩ ) Hence, of since and nay, that case this in in implies 16, 2) ref. (e.g., proposition function continuous-limit lemma 263, Courant–Lebesgue and T the 257 that pp. known is H to consider and ping function continuous-limit disk some to C uniformly converging Φ oni osldtrGat“itac”713 n salSineFounda- Science Israel 1830/17. and Grant 771136 tion “LiftMatch” Grant Consolidator Council ACKNOWLEDGMENTS. that have to uniformly verge change conformal a to all and is coordinates) energy of Dirichlet the that function. zero the to uniformly converge nterm2o e.4 ti hw that where shown variable), is it mapping 43 ref. of Φ 2 theorem In ietcluainsosta foetakes one if lines that polygonal shows > the  calculation of direct angles A the on depending problem: the case this In isosceles. mapping right-angled orbifold-Tutte or equilateral that an namely and Delaunay 3-connected htis, That in that of function vertices unique the the is, that X and h hoyo nt lmns(.. hoe ..0i e.40) ref. in 4.4.20 particular, theorem in kΦ (e.g., since, elements that finite states of theory the .LiL,TiuekdmS agY hmsnP,Ca F(00 piie con- Optimized (2010) TF Chan PM, Thompson Y, Wang S, flattening. Thiruvenkadam colon LM, virtual Lui Conformal (2006) 7. A Kaufman M, Jin F, confor- Qiu surface X, zero Gu Genus W, Hong (2004) ST 6. Yau PM, Thompson TF, Chan Y, Wang X, Gu 5. Ψ (∂ ∈ ∈ 1 Consider that assume we convergence, uniform prove To inequality, triangle The u otetaetermw aethat have we theorem trace the to Due Since enx att hwthat show to want next We L omlsraergsrto ihsaebsdlnmr matching. 3:52–78. landmark shape-based with registration surface formal Modeling Physical and 85–93. Solid on pp York), Symposium ACM 2006 the of Proceedings mapping. surface brain to 23:949–958. application its and mapping mal C ∈ g hoe 2. Theorem  (Ω, 0 h 2 W W − ◦ Ω, B em 7 Lemma X (∂ Ψ Ψ = ssfcetysals that so small sufficiently is ϕ ∗ fta snttecs elet we case the not is that If . p p X h 1 1 R h (Ω, R kΦ Ω, kΦ (Ω, (Ω, iff C ∈ h 2 2 and → k h Φ ) Φ o hspr ecnasm ....that w.l.o.g. assume can we part this For ). T R h kΦ ∂ | T ∩ − ∂ ∗ h − R R 2 Φ T Φ r fteform the of are Ω (Ω, Ψ ) C 2 2 ovre nfrl to uniformly converges − Ψ h 0 Ψ Φ h ) n therefore and ) hrfr,i seog oso that show to enough is it Therefore, ). h a usqec ovriguiomyt some to uniformly converging subsequence a has ( ml hti seog oapproximate to enough is it that imply ∩ h h ovreto converge as h Ψ o some for Ω, T min ob ouino h olwn optimization following the of solution a be to ¯ ovreuiomyto uniformly converge ∂ → k s.t α k X h Λ h T Ψ aif h iceemxmmpicpe(43). principle maximum discrete the satisfy C h i.e., ; R → k ∈ h T ( h 0 ) hsrsac a upre yErpa Research European by supported was research This → etake We . Ω,R 2 ¯ Θ 0 ∩ Ψ = ) Since Φ. X X E as ocnegnein convergence So 0. Λ ⊂ h iihe nryof energy Dirichlet the 0, 2 D Ψ ) (v h X ∈ suiomybudd(remember bounded uniformly is p h 0 2π (0, h (X Ψ g k ≤ h tnadapoiainrsl in result approximation standard A . h Φ(v = ) > Λ ◦ → ∈ Ω : h (v T g h Clearly ϕ. ) h iglrte fteRiemann the of singularities The 2. T C kΦ z = i satisfy 0. Φ T T → Φ = ) α Φ Φ X and ), (∂ T Ψ Φ nfrl.Since uniformly. h > α − h h (here Λ Ω,  h hsipisthat implies This Φ. T ϕ ), − ovreto converge h X ob h nepln of interpolant the be to ∈ Ψ = sahmoopim(15). homeomorphism a is  : R T hscnldsteproof the concludes this Φ, 1 (v kΦ ≤ k → B hc geswith agrees which Ψ sa ulda orbifold, Euclidean an is W Θ 2 − ∀v Ψ g T i h ). z 2 h o all for ), NSLts Articles Latest PNAS . 2 (p h safiiesto angles of set finite a is Ψ p | T = (Ω, ∂ ∈ k + Ω 2 i Φ h 0 Ω C Ψ = ) x ∂ H eaReanmap- Riemann a be − h ovreuniformly converge ( R h a subsequence a has Ω. + o all for ∂ → EETasMdImaging Med Trans IEEE 1 Ω,R Φ 2 ovre to converges c Φ iy p ehv that have we ), omi proved. is norm i  Φ , k + 2 = 2 M nfrl,we uniformly, v IMJIaigSci Imaging J SIAM ) sacomplex a is ∂ i + i nfrl if uniformly Ω → α Ω ,2 3 2, 1, = V ∈ h kΦ T steunit the is ∈ sDelau- is 0, and Φ M AM New (ACM,  Ψ h Φ then Θ,  h Note . | Φ −  where h h [10b] [10a] [10c] − Ψ  f6 of 5 con- with X ∂ T It . g Φ h are Ψ on T k, Φ ∈ ∈  h . ,

APPLIED MATHEMATICS 8. Lipman Y, Funkhouser T (2009) Mobius¨ voting for surface correspondence. ACM Trans 25. He ZX, Schramm O (1996) On the convergence of circle packings to the Riemann map. Graph 28:72–84. Invent Math 125:285–305. 9. Kim VG, Lipman Y, Funkhouser T (2011) Blended intrinsic maps. ACM Trans Graph 26. Collins CR, Stephenson K (2003) A circle packing algorithm. Comput Geom 25:233– 30:79. 256. 10. Soliman Y, Slepcevˇ D, Crane K (2018) Optimal cone singularities for conformal 27. De Verdiere YC (1991) Un principe variationnel pour les empilements de cercles [A flattening. ACM Trans Graph 37:1–17. variational principle for stacking circles]. Invent Math 104:655-669. French. 11. Maron H, et al. (2017) Convolutional neural networks on surfaces via seamless toric 28. Chow B, Luo F (2003) Combinatorial Ricci flows on surfaces. J Differential Geom covers. ACM Trans Graph 36:1–10. 63:97–129. 12. Ben Hamu H, Maron H, Kezurer I, Avineri G, Lipman Y (2018) Multi-chart generative 29. Bowers PL, Hurdal MK (2003) Planar conformal mappings of piecewise flat surfaces. surface modeling. ACM Trans Graph 37:215. Visualization Math 3:3–34. 13. Kittler J, Koppen W, Kopp P, Huber P, Ratsch¨ M (2018) Conformal mapping 30. Bobenko A, Springborn B (2004) Variational principles for circle patterns and Koebe’s of a 3D face representation onto a 2D image for CNN based face recogni- theorem. Trans Am Math Soc 356:659–689. tion. 11th IAPR International Conference on Biometrics (IEEE, Piscataway, NJ), 31. Luo F (2004) Combinatorial Yamabe flow on surfaces. Commun Contemp Math 6:765– pp 124–131. 780. 14. Bobenko A (2008) Discrete , eds Bobenko AI, Schroder,¨ P, 32. Springborn B, Schroder¨ P, Pinkall U (2008) Conformal equivalence of triangle meshes. Sullivan JM, Ziegler GM (Springer, Basel, Switzerland). ACM Trans Graph 27:77. 15. Aigerman N, Lipman Y (2015) Orbifold Tutte embeddings. ACM Trans Graph 34:190:1– 33. Ciarlet PG (2002) The Finite Element Method for Elliptic Problems (SIAM, 190:12. Philadelphia). 16. Dierkes U, Hildebrandt S, Sauvigny F (2010) Minimal Surfaces (Springer, Berlin), pp 34. Pinkall U, Polthier K (1993) Computing discrete minimal surfaces and their conjugates. 53–90. Exp Math 2:15–36. 17. Trefethen LN (1980) Numerical computation of the Schwarz–Christoffel transforma- 35. Levy´ B, Petitjean S, Ray N, Maillot J (2002) Least squares conformal maps for automatic tion. SIAM J Sci Stat Comput 1:82–102. texture atlas generation. ACM Trans Graph 21:362–371. 18. Natarajan S, Bordas S, Roy Mahapatra D (2009) Numerical integration over arbitrary 36. Desbrun M, Meyer M, Alliez P (2002) Intrinsic parameterizations of surface meshes. polygonal domains based on Schwarz–Christoffel conformal mapping. Int J Numer Comput Graph Forum 21:209–218. Methods Eng 80:103–134. 37. Tsuchiya T (1987) Discrete solution of the plateau problem and its convergence. Math 19. Marshall DE, Rohde S (2007) Convergence of a variant of the zipper algorithm for Comput 49:157–165. conformal mapping. SIAM J Numer Anal 45:2577–2609. 38. Tsuchiya T (2001) Finite element approximations of conformal mappings. Numer 20. Delillo TK (1994) The accuracy of numerical conformal mapping methods: A survey of Funct Anal Optimization 22:419–440. examples and results. SIAM J Numer Anal 31:788–812. 39. Hutchinson JE (1991) Computing conformal maps and minimal surfaces. Theoretical 21. Henrici P (1993) Applied and Computational : Discrete Fourier Anal- and Numerical Aspects of Geometric Variational Problems, eds Dziuk G, Huisken G, ysis, Cauchy , Construction of Conformal Maps, Univalent Functions (Wiley, Hutchinson J (Centre for Mathematics and its Applications, Mathematical Sciences New York), Vol 3. Institute, The Australian National University, Canberra, Australia), pp 140–161. 22. Porter RM (2005) History and recent developments in techniques for numerical 40. Brenner S, Scott R (2007) The Mathematical Theory of Finite Element Methods conformal mapping. Proceedings of the International Workshop on Quasiconfor- (Springer Science & Business Media, New York), Vol 15. mal Mappings and Their Applications (IWQCMA05) (Indian Institute of Technology 41. Outerelo E, Ruiz JM (2009) Mapping Degree Theory (Am Math Soc, Providence, RI), Madras, Chennai, India), pp 207–238. Vol 108. 23. Thurston WP, Milnor JW (1979) The Geometry and of Three- 42. Ciarlet PG, Raviart PA (1973) Maximum principle and uniform convergence for the (Princeton Univ Press, Princeton). finite element method. Comput Methods Appl Mech Eng 2:17–31. 24. Rodin B, Sullivan D (1987) The convergence of circle packings to the Riemann 43. Floater M (2003) One-to-one piecewise linear mappings over triangulations. Math mapping. J Differential Geom 26:349–360. Comput 72:685–696.

6 of 6 | www.pnas.org/cgi/doi/10.1073/pnas.1809731116 Dym et al. Downloaded by guest on October 2, 2021