Professional Documents
Culture Documents
Chapter 4
Flächenmodellierung
R. Grosso
Content
• Motivation
• Some History
• Differential Geometry Background
• Conformal and Harmonic mappings
• The Spring Model
• Some remarks: closed surfaces
• Deformation Analysis
– Most Isometric ParametrizationS
Flächenmodellierung
Motivation
• Literature
– Siggraph Course Notes: Mesh Parametrization: Theory and
Practice, 2007. Kai Hormann, Bruno Levy and Alla Sheffer
– Eurographics 2008 Full-Day Tutorial Geometric Modeling Based
on Polygonal Meshes
– Surface Parameterization: a Tutorial and Survey. Michael S.
Floater and Kai Hormann
Flächenmodellierung
Motivation
• Texture mapping
Flächenmodellierung
Motivation
• Surface Fitting
Parameter domain
Flächenmodellierung
Motivation
Flächenmodellierung
Motivation
• Remeshing
parameter domain
Flächenmodellierung
Motivation
• Mesh editing
Flächenmodellierung
Motivation
• Detail Mapping
Flächenmodellierung
Motivation
• Complex topology
Flächenmodellierung
Some History
Flächenmodellierung
Some History
Flächenmodellierung
Some History
Flächenmodellierung
Some History
Flächenmodellierung
Differential Geometry
• Surface S ⊂ R³
• Assumptions:
– Regular:
• Diff. as many times as necessary"
– Note:
• tangent"
• normal
Flächenmodellierung
Differential Geometry
det(gαβ ) = g > 0
€
Flächenmodellierung
Differential Geometry
• Differentiable Manifold
– Topological manifold Χ
• Locally homeomorphic to euclidean space
– Vα ⊂ Χ, Vα open
– chart pair (Vα , Φα), Φα : Vα → R3
– Atlas: set {(Vα , Φα)} which covers Χ with transition maps
– if Φαβ (Rn→Rn) is Ck for all transition maps then the atlas {(Vα ,
Φα)} is Ck. In this case we say that the pair {Χ, {(Vα , Φα)} is
Ck differentiable manifold
Flächenmodellierung
Differential Geometry
φ φ’
u2 u’2
u1 u’1
Flächenmodellierung
Parametrization
• Notation:
– S surface, (u1,u2) coordinates
– S* second surface
– f map, f: S→S*
– A parametrization of S* is given by φ* = f◦φ
– A point p in S* has the same coordinates as in S.
S f
φ S*
u2
φ*
u1
Flächenmodellierung
Isometric Mapping
• Definition
f: S→S* is an isometric or length-preserving map if the length of
any arc on S* is the same as its pre-image on S"
We call f an isometry.
• Theorem
– A map f: S→S* is an isometry iff the coefficient of the first
fundamental form are the same, i.e. I = I*"
The surface S and S* are called isometric.
Flächenmodellierung
Conformal Mapping
• Definition
f: S→S* is a conformal or angle-preserving map if the angle at the
intersection of two curves on S* is the same as the angle of
intersection of the corresponding curves on S.
• Theorem
– f: S→S* is conformal iff the first fundamental form are
proportional, i.e. I=η(u1,u2)I* ; η≠0 scalar
Flächenmodellierung
Equiareal Mapping
• Definition
f: S→S* is an equiareal map if every set on S is mapped to a set
on S* with the same area
• Theorem
– f: S→S* is a equiareal map iff g=g*
• Theorem
– Every isometric mapping is conformal and equiareal
– Every conformal and equiareal mapping is isometric
Flächenmodellierung
Surface Parametrization
• Note:
– Jf: Jacobian of f ⇒ If =JT⋅ J (2x2 Matrix)
– Singular values of J (3x2 Matrix) are the square roots of the
eigenvalues of g"
Singular values of Jf: σi, Eigenvalues of g: λi ⇒ σi2 = λi
Then
f is isometric "
f is conformal"
f is equiareal
Flächenmodellierung
Surface Parametrization
Flächenmodellierung
Conformal Map
• Conformal map
– complex transformation w=f(z) w,z ∈ C that preserves angles
– f is analytic
– z=x+iy; w=u+iv
– It follows
Δu=0; Δv=0;
i.e. u(x,y) and v(x,y) are harmonic"
Flächenmodellierung
Conformal Map
⇒Δϕ=0 (∇⋅∇ϕ=0) in Ω!
Flächenmodellierung
Conformal Map
• Result
– harmonic map can be viewed as minimizing the Dirichlet’s
energy over the surface S.
• Note:
– In this case the domain is planar, i.e. Ω ⊂ R2
– For S ⊂ R3 use the generalized Laplace equation: use operators
defined on S:"
Δs=divs⋅grads
• Result
– Isometric ⇒ conformal ⇒ harmonic
• Remark:
– Not every harmonic map is conformal.
Flächenmodellierung
Harmonic Map
Flächenmodellierung
Harmonic Map
vi
f(vi)
Flächenmodellierung
Harmonic Map
• Note:
– Quadratic minimization problem
– For a triangle t=[v1v2v3]
Flächenmodellierung
Harmonic Map
vj
vi
Flächenmodellierung
Harmonic Map
• Remark:
– The matrix is symmetric and positive definite
– The bandwidth of the matrix is given by the max. valence of
vi∈VI
– at the boundary for vi∈VI
boundary edges
Flächenmodellierung
Harmonic Map
E D → min ⇒ solve ∇E D = 0,
where the gradient is taken with respect to f i ,v i ∈VI
Flächenmodellierung
Harmonic Map
Flächenmodellierung
Harmonic Map
v3
θ12 α14
v2
θ13 α13 v4
β15
v1 β14
v7 v5
v6
Flächenmodellierung
Harmonic Map
• Remark:
– Matrix is symmetric and positive definite, therefore the system is
solvable and solution is unique
Flächenmodellierung
Harmonic Map
• Remark:
– Harmonic map
• If S* is convex ⇒ f is one-to-one
– Discrete harmonic map
• S* is convex and the weights wij are positive ⇒ f is one-to-one
• orientation of triangles is preserved t=[v1,v2,v3] → f(t)=[f(v1) f(v2) f(v3)]
– This can be seen as follows:
Flächenmodellierung
Convex Combination
• Convex combination
– Set of points {pi} i=1,…,N.
– Convex combination
vi
λij>0 ∀ij
Flächenmodellierung
Convex Combination
Flächenmodellierung
Convex Combination
Flächenmodellierung
Surface Parametrization
p1 p2
p0 p3 p4
p5
x0 x1 x2 x3 x4 x5
Flächenmodellierung
Surface Parametrization
∂F
= 0 ⇒ x k ∑ w kj − ∑w kj xj =0 ⇒ xk ∑w kj − ∑w kj xj = ∑w kj xj
∂x k j∈N (k ) j∈N (k ) j∈N ( j ) j∈N (k ) j∈N (k )
j∉B j∈B
Flächenmodellierung
€
Surface Parametrization
⎧ ∑ w ik , i= j
⎪ k∈N (i)
⎪
Aij = ⎨ −w ij , j ∈ N(i) bi = ∑w ij xj
⎪ 0 , otherwise
j∈N (i)
j∈B
⎪⎩
⇒ A⋅x =b
Flächenmodellierung
Surface Parametrization
• Procedure
– Step 1: Parametrization of the boundary: Compute a
parametrization for the boundary points
– Step 2: Set the weights wij (use some heuristic model)
– Step 3: Solve linear system for the inner points!
• Analysis
p1 p2 f
p0 p3 x0 x1 x2 x3
x 0 = f ( p0 ) ⎫
⎬ boundary, fix
x 3 = f ( p3 ) ⎭
Flächenmodellierung
€
Surface Parametrization
1
Example: choose
w ij = p (the spring model)
pi − p j
it follows
⎫
p ⎪ p = 0 uniform
x1 − x 0 ⎛ p1 − p0 ⎞ ⎪
⇒ = ⎜ ⎟ ⎬ p = 1 chordal
x 2 − x1 ⎝ p2 − p1 ⎠ ⎪ 1
⎪ p= centripedal
⎭ 2
Flächenmodellierung
€
Surface Parametrization
• Physical motivation
Flächenmodellierung
Surface Parametrization
Flächenmodellierung
Surface Parametrization
• Geometry
ii. n-polygon
Überfaltung
Flächenmodellierung
Surface Parametrization
Flächenmodellierung
Surface Parametrization
Flächenmodellierung
Surface Parametrization
vi
• One-to-one only if
αij+βij < ∏ (wij > 0) ⇒ it satisfy (i) but not (ii)!
Flächenmodellierung
Surface Parametrization
• The method:
Step 1: Flattening
Flächenmodellierung
Surface Parametrization
P
y
q3
q4
Q3
Q4
p
σ1 q2
Q2
q5
Q5 q1
q6
Q1 x
Q6
Flächenmodellierung
Surface Parametrization
⎛ 0 ⎞
P → p = ⎜ ⎟
⎝ 0 ⎠
⎛ 1 ⎞
Q1 → q1 = Q1 − P ⎜ ⎟
⎝ 0 ⎠
⎛ cosσ i ⎞
Qi → qi = Qi − P ⎜ ⎟ i = 2,K,N QN = Q1
⎝ sin σ i ⎠
i
2Π
σ i = ρ∑ γ λ ; ρ = N ; γ i = ∠(Qi ,P,Qi+1 )
€ λ =2
∑γ i
i=2
Flächenmodellierung
€
Surface Parametrization
Qi
γi Qi-1
qi
P σi q
p i
Flächenmodellierung
Surface Parametrization
€
iii. Obtain
vi v`j4 v`j3
v`i
v`j1 v`j2
Flächenmodellierung
Surface Parametrization
v`j1 v`j2
Flächenmodellierung
Surface Parametrization
v`i
v`j1 v`j2
Flächenmodellierung
Surface Parametrization
• Closed Surfaces
1) Surfaces with genus 0, i.e. sphere
i. Find map to the unit sphere
ii. A harmonic map is conformal, Gu. And Yan, 2002
iii. Many methods are nonlinear
2) Surfaces with arbitrary genus
i. Segment surface into open disk like meshes
ii. Use network for open surfaces
iii. Problem: smooth transition across patch boundaries
Flächenmodellierung
MIPS
Flächenmodellierung
MIPS
• Statement:
– the map between two triangles is linear: fj: Tj → tj.
– call the map fj atomic linear map.
• Idea
– find a functional that measures the distortion (or deformation) of
the atomic linear map
– minimize a functional over all these atomic maps ∑ E(fj).
R3 R2
fj
Flächenmodellierung
MIPS
Flächenmodellierung
MIPS
• The functional
– consider atomic linear map
g:R2 → R2 , x a Ax + b
ignore in the following the translation part b.
– Singular value decomposition
€
T ⎛ σ1 0 ⎞
U AV = Σ = ⎜ ⎟
⎝ 0 σ 2 ⎠
– 2-norm condition
σ
κ 2 (A) = A 2 A −1 2 = 1
σ2
€ • this number gives information on deformation and collaps
• A value of 1 corresponds to an isometry
€
Flächenmodellierung
MIPS
• Problem
– the computation of the two norm condition number is difficult
• Solution
– use the Frobenius norm condition instead.
−1 trace(AT A)
κ F (A) = A F
A =
F det(A)
€ κ = ∑κ F ( f j )
j
Flächenmodellierung €
MIPS
Flächenmodellierung
Surface Parametrization
• Final remarks
– linear methods, e.g. the spring model, are easy to implement
and fast
– the harmonic energy can produce overlaps, e.g. if some of the
weights are negative
– non linear methods, e.g. MIPS or more realistic spring models,
produce better results. Implementation is difficult and require
much more computation time.
– Most methods require to specify first the parametrization of the
boundary, except MIPS
Flächenmodellierung