b5a8cda2fdfe1d8562ff4fcacd096912.ppt
- Количество слайдов: 42
Bounded-distortion Piecewise Mesh Parameterization Olga Sorkine, Daniel Cohen-Or Tel-Aviv University Rony Goldenthal, Dani Lischinski The Hebrew University of Jerusalem
Overview n n n Parameterization – definition Applications Distortion and partition Previous work Our approach Results 2
Parameterization - definition n S R 3 - given surface n D R 2 - parameter domain n s: D S 1 -1 and onto 3
Mesh parameterization n Uniquely defined by mapping the mesh vertices to the parameter domain: U : {v 1, v 2, …, vn} → D R 2 U(vi) = (ui, vi) n No two edges cross in the plane U is piecewise linear (linear inside each face) Mesh parameterization mesh embedding n n 4
Applications n n Texture mapping, 3 D painting Resampling, remeshing Digital geometry processing Multi-resolution analysis Using parameterization, we can operate on the 3 D surface as if it were flat. Remeshing images taken from “Interactive Geometry Remeshing”, P. Alliez, M. Meyer and M. Desbrun, SIGGRAPH 2002 5
Distortion and partition n n Ideal parameterization is an isometry General surfaces cannot be embedded without distortion – Surfaces with non-zero Gaussian curvature – Non-disk topology n n Partitioning the surface reduces distortion But: the parameterization is not continuous over the boundaries between the patches of the partition 6
Previous work n Partition/cut the mesh in pre-process – Interactive user input – Normals bucketing – Region growing from feature curves (Lévy et al. 02) n Flatten each patch by energy minimization – – Convex mapping (Floater 97) Harmonic mapping (Maillot et al. 93, Eck et al 95) Conformal mapping (Lévy et al. 02, Desbrun et al. 02) Non-linear Jacobian energy minimization (Sander et al. 01) 7
Previous work – partial list n Maillot et al. 93 Eck et al. 95 Floater 97 Lévy and Mallet 98 Lee et al. 98 Haker et al. 00 Sander et al. 01 Gu et al. 02 Sheffer 02 Lévy et al. 02 Desbrun et al. 02 Zigelman et al. 02 n Bennis et al. 91 n n n 8
Previous framework - discussion n A-priori partition sets lower bound on the distortion cannot comply with preset upper bound on the distortion. n If the distortion is too high, need to subdivide the partition and recompute the parameterization. n Most of the methods cannot prevent triangle flips and global self-intersections (overlaps). n High computational cost (for non-linear optimizations). 9
Bennis et al. 91 If distortion > threshold stop Surface Plane Works on C 2 surfaces sampled on regular grid, even geodesic spacing in both u and v directions. 10
Our contribution n n Parameterization with bounded distortion Simultaneous partition and parameterization Valid parameterization – no self-intersections Simple and fast algorithm Generic scheme 11
Algorithm overview n n n Greedy algorithm: grow one patch at a time, until no more vertices can be added. At each step, attempts to flatten the “best” vertex adjacent to the current patch – local criteria. The distortion of each mesh triangle is guaranteed to be below specified threshold. 12
Algorithm overview n Select random seed triangle, flatten it. n Maintain a priority queue of the vertices adjacent to the current patch. n Flatten triangles adjacent to current patch: – At each step, take the best vertex off the queue – Check for self-intersections n Stop when no triangles can be added to the patch, and start a new one. 13
Patch Growth The 3 D surface 14
Patch Growth The 3 D surface The planar patch 15
Patch Growth The 3 D surface The planar patch 16
Patch Growth The 3 D surface The planar patch 17
Patch Growth The 3 D surface The planar patch 18
Patch Growth The 3 D surface The planar patch 19
Patch Growth The 3 D surface The planar patch 20
Patch Growth The 3 D surface The planar patch 21
Patch Growth The 3 D surface The planar patch 22
Patch Growth The 3 D surface The planar patch 23
Patch Growth The 3 D surface The planar patch 24
The Jacobian distortion metric T In 2 D S T’ In 3 D D(T, T’) = max{ max , 1/ min } max and min are the singular values of the Jacobian [ S/ s S/ t]: n n n The values max and min are the maximal stretching and shrinking caused to a unit-length vector by the mapping S We want to equally “punish” stretch and shrink Any other reasonable metric can be used! 25
Flattening a single vertex V T 1 T 2 v 1 v 2 v t 1 t 2 26
Vertex grade components n Maximal distortion caused to the triangles flattened with the vertex. If it’s greater than the threshold, the grade is set to zero and the vertex can’t be flattened in the current patch! n The ratio between patch area and squared perimeter (to create round patches with small boundary length). n Crease angles or other segmentation information. n More criteria… 27
Checking self-intersections n Local self-intersection – triangle flipping 1 2 1 V 2 28
Checking self-intersections n Global self-intersections: maintain space partition data structure, check the new triangles with the existing boundary edges. 29
Adding seams n After the patch is finished, we may add seams as a postprocess, to benefit from cylinder-like structure. 30
Adding seams n After the patch is finished, we may add seams as a postprocess, to benefit from cylinder-like structure. 31
Results 32 11, 000 triangles, 1. 3 seconds, unoptimized code
Results 3. 0 2. 0 1. 5 1. 0 33
Results Bounding the area/perimeter 2 ratio. . . 34 40, 000 triangles, 4 seconds, unoptimized code
Results 35 100, 000 triangles, 9 seconds, unoptimized code
Results 36
Comparison with global relaxation technique, normal bucketing partition n Conclusions from the comparison: – Much faster – Lower average distortion – Boundary length – sometimes the same, sometimes longer… 37
Texture mapping with our parameterization 38
3 D painting with our parameterization 39
Summary n n n A simple and fast method for surface parameterization Simultaneously computes the partition and the parameterization Employs local (generic) criteria rather than global ones No self-intersections No explicit control on the number and the size of the patches Future work: to incorporate segmentation information to gain some “global” properties 40
Acknowledgements n n Israel Science Foundation founded by the Israel Academy of Sciences and Humanities Israeli Ministry of Science German Israel Foundation (GIF) Deutsch Institute 41
Thank you!
b5a8cda2fdfe1d8562ff4fcacd096912.ppt