Title: Surface Parametrization
1Surface Parametrization
2Topics
- Definition
- Properties
- Applications (Overview)
- Approaches
- Applications (Detailed)
3Definition
- A parametrization of a surface is a mapping U
(x,y,z)-gt(u,v) from 3D space to 2D space - In a discrete case, a triangulation S(G,X) is any
planar triangulation P which is isomorphic to G.
A surface triangulation and its parameterization
4Properties
- Inevitable distortion
- Conformality X (u,v) -gt (x,y,z) is conformal if
the tangent vectors to the iso-u and iso-v curves
passing through X(u,v) are orthogonal and have
the same norm - N(u,v) x (dX/du) dX/dv
5Other Properties
- Angle-preservingpreserve aspect ratios of
triangles - Shape-preserving
- Area-preserving, etc.
6Application (Overview)
- Texture-mapping
- ? (x,y,z) -gt (u,v) from 3D to 2D
- Remeshing
- ?-1 (u,v) -gt (x,y,z) from 2D to 3D
7Approaches of Parametrization
- Harmonic Maps 1 Conformal, Angle-preserving
- Floaters 2 Shape-preserving
- Parametrization with constrains 3
- Least squares conformal maps 4
- A lot more.
8Approaches of Parametrization
- Harmonic Maps 1 Conformal, Angle-preserving
- Floaters 2 Shape-preserving
- Parametrization with constrains 3
- Least squares conformal maps 4
- A lot more.
9Harmonic Maps
- Theorem
- Fix a homeomorphism g between the boundary of D
and the boundary of the polygonal region P then
there is a unique harmonic map hD-gtP that agrees
with g on the boundary of D and minimizes metric
dispersion 1 - Metric dispersion
- a measure of the extent to which a map stretches
regions of small diameter in D - a measure of metric distortion
10Visualize Harmonic Maps
- Stretch the boundary of D over the boundary of
the polygon P. The harmonic map minimizes the
total energy Eharmh of this configuration.
D
P
11Harmonic Maps a piecewise linear approximation
- Fix the boundary
- Find h that minimize Eharm
12Advantages
- small distortion
- U. Pinkall and K.Polthier, Computing discrete
minimal surfaces and their conjugates, 1993,
shows a link between the minimization of metric
dispersion and conformality
13Approaches of Parametrization
- Harmonic Maps 1 Conformal, Angle-preserving
- Floaters 2 Shape-preserving
- Parametrization with constrains 3
- Least squares conformal maps 4
- A lot more.
14Shape-preserving Parametrization
- Floater, Parametrization and smooth approximation
of surface triangulations2
15Barycentric combination
16Local shape preserving parametrization
17Local shape preserving parametrication
- Find the barycentric combination
- p ??i pi , i1,,5
- ??i 1
18The Algorithm
- Step 1 initialize the boundary condition
- x1,, xn are the internal nodes and xn1 ,, xN
are the boundary nodes in any anticlockwise
sequence - Choose pn1 ,, pN to be the vertices of a
polygon D in 2D. pn1 ,, pN are the
parametrizaion of xn1 ,, xN
19The Algorithm
- Step 2
- Each interior node
- pi ??ij pj , j 1,,N, i1,,n
- ?ij gt 0 when pj is adjencent to pi
- ?ij 0 when pj is not adjencent to pi
- pi - ??ik pk ??ij pj , k 1,,n j n1,,N,
i1,,n - Ap1 ,,pnT b
20Advantages
- Preserve chord length
- Preserve barycentricity
21Approaches of Parametrization
- Harmonic Maps 1 Conformal, Angle-preserving
- Floaters 2 Shape-preserving
- Parametrization with constrains 3
- Least squares conformal maps 4
- A lot more.
22Parametrization with Constrains
- Levy, Siggraph 2001 3
- Facilitate texture-mapping
- Constrains specified by pairs of a 3D point and a
2D point. - (Mj, Uj), Mj ?R3 , Uj ?R2
23Parametrization with Constrains
- Minimize the objective function
- matching features
enforcing smoothness
24Matching Features
25Constraining the Gradient
- The gradient in a triangle T p1,p2,p3
- Local base (p1, X,Y)
- The gradient is
26Constraining the Gradient
- For a matching feature (Mj, Uj), Mj ?R3 , Uj ?R2
, given a vector Uj to constrain the gradient of
u
27Enforcing smoothness
- Approximate it by minimize the variation of the
gradients of two adjacent triangles T, T
28Parametrization with Constrains
- Objective function is decomposed into three
linear terms
29Parametrization with Constrains
30Approaches of Parametrization
- Harmonic Maps 1 Conformal, Angle-preserving
- Floaters 2 Shape-preserving
- Parametrization with constrains 3
- Least squares conformal maps 4
- A lot more.
31Least Squares Conformal Maps
- Levy, Siggraph 2002, Least Squares Conformal Maps
for Automatic Texture Atlas Generation4 - Satisfy conformality in the least squares sense
- Optimization based
32Conformal Maps
- X (u,v) -gt (x,y,z) is conformal if the tangent
vectors to the iso-u and iso-v curves passing
through X(u,v) are orthogonal and have the same
norm - N(u,v) x (dX/du) dX/dv
33Conformality in a triangulation
- Suppose each triangle is provided a local
orthonormal basis - X uiv-gtxiy, U xiy-gtuiv
- dX/du i(dX/dv)0 gt
- dU/dx i(dU/dy)0 (the derivative of the inverse
function)
34Least Squares Conformal Maps
- dU/dx i(dU/dy)0 gt
- minimize ?(dU/dx i(dU/dy))2 over the
triangulation
35Applications (Detailed)
- Interactive Geometry Remeshing, Siggraph 2002 5
- Partitioning
- Parametrization
- Generate the control map
- Geometry resampling
- Mesh creation
36Partitioning
- split the surface into disk-like patches
37Parametrization
38Generate Control Map
- Area distortion map
- Mean curvature map
- To denote the sampling density
39Geometry Resampling
- Generate sampling points in parametric space by
halftoning the control map
40Mesh creation
- Delaunay triangulation over sampling points
- Connect sampling points
41References
- 1 M. Eck, T. DeRose, T.Duchamp, H. Hoppes, M.
Lounsbery and W. Stuetzle. Multiresolution
Analysis of Arbitrary Meshes. In SIGGRAPH 95
Conference Proceedings, pages 173182. ACM,
August 1995. - 2 M. Floater. Parametrization and smooth
approximation of surface triangulations. Computer
Aided Geometric Design, 14(3)231250, April
1997. - 3 Levy, B. Constrained Texture Mapping for
Polygonal Meshes. In Proceedings of SIGGRAPH
(2001), pp.417424. - 4 Levy, B., Petitjean, S., Ray, N., and
Maillot, J. Least Squares Conformal Maps for
Automatic Texture Atlas Generation. In
Proceedings of SIGGRAPH (2002). - 5 Pierre Alliez, Mark Meyer and Mathieu
Desbrun, Interactive Geometry Remeshing. In
SIGGRAPH '2002 Conference Proceedings - 6 B. Levy and J.-L. Mallet. Non-distorted
texture mapping for sheared triangulated meshes.
In SIGGRAPH 98 Conf. Proc., pages 343352.
Addison Wesley, 1998. - 7 Desbun, M., Meyer, M., AND Alliez, P.
Intrinsic parameterizations of surface meshes. In
Proceedings of Eurographics (2002).