Скачать презентацию Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv Скачать презентацию Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv

47cb80db7d5b596f6ef61a15d7e12e4a.ppt

  • Количество слайдов: 24

Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv University SMI 2004 Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv University SMI 2004

Our goal n Shape approximation – Connectivity data – Sparse geometric data n Exploit Our goal n Shape approximation – Connectivity data – Sparse geometric data n Exploit information in the mesh graph

Connectivity Shapes n n Connectivity has geometric information in it [Isenburg, Gumhold and Gotsman Connectivity Shapes n n Connectivity has geometric information in it [Isenburg, Gumhold and Gotsman 01] showed how to get a shape from connectivity by assuming uniform edge length and smoothness – Non-linear optimization process to get shape from connectivity Images taken from the “Connectivity Shapes”, Isenburg et al. , IEEE Visualization ‘ 01

Our approach n n Enrich the connectivity by sparse set of control points with Our approach n n Enrich the connectivity by sparse set of control points with geometry Solve a linear least-squares problem to reconstruct the geometry of all vertices (the approximated shape)

Geometry hidden in connectivity There is geometry in connectivity Geometry hidden in connectivity There is geometry in connectivity

The linear system n We have two types of constraints: – Fairness constraint L(vi) The linear system n We have two types of constraints: – Fairness constraint L(vi) = 0 i – Geometric constraint vj = cj j C n L is the mesh Laplacian operator:

Linear least-squares solution L Linear least-squares solution L

Connection to Tutte/Floater embedding n n Similar system was used by [Tutte 63] and Connection to Tutte/Floater embedding n n Similar system was used by [Tutte 63] and [Floater 97] for graph drawing and parameterization. Constraints placed on boundary vertices along a convex 2 D polygon

Connection to Tutte/Floater embedding n Tutte system has hard constraints – The smoothness condition Connection to Tutte/Floater embedding n Tutte system has hard constraints – The smoothness condition is not satisfied at constrained vertices

Linear least-squares solution n We solve the system for 3 D positions of the Linear least-squares solution n We solve the system for 3 D positions of the vertices Arbitrary topology The constraints are soft, not necessarily on a boundary L

Solving the least-squares problem n We need to solve an over-determined system: n We Solving the least-squares problem n We need to solve an over-determined system: n We find the solution by solving the normal equations: n Very efficient solution by Cholesky factorization of ATA: – R is upper-triangular and sparse – Once R is computed, solving for x, y, z by back-substitution:

Basis functions n The geometry reconstructed by solving is in fact a combination of Basis functions n The geometry reconstructed by solving is in fact a combination of k basis functions:

Basis functions n The basis functions are defined on the entire mesh – Connectivity Basis functions n The basis functions are defined on the entire mesh – Connectivity data – defined for arbitrary topology – Tagging of the control vertices n The bases satisfy (in LS sense): – Smooth everywhere : Lui = 0 – Large on the i-th control vertex (ui = 1) and vanish on all others 5 basis functions on a 2 D mesh (simple chain)

Spectral basis vs. LS basis n Another basis for compact geometry representation on meshes Spectral basis vs. LS basis n Another basis for compact geometry representation on meshes was proposed by [Karni and Gotsman 2000]: – The basis functions are eigenvectors of L, sorted in increasing eigenvalue order Spectral Basis n The spectral basis does not take any geometric information into account n Requires eigendecomposition – impractical for today’s meshes LS basis n The LS basis tags specific vertices, which makes it “geometry-aware” n Require solving sparse linear least-squares problem – can be done efficiently

Selecting the control points n Random selection – Fast, but less effective approximation n Selecting the control points n Random selection – Fast, but less effective approximation n Greedy approach – Place one-by-one at vertices with highest reconstruction error – Slow, but gives good approximation n Greedy selection combined with local error maxima – A reasonable compromise Random selection Greedy approach 1000 control points Combined approach

Some results – varying number of control points Original camel 39074 vertices 100 control Some results – varying number of control points Original camel 39074 vertices 100 control points 600 control points 1200 control points 3600 control points

Some results – varying number of control points Original feline 49864 vertices 100 control Some results – varying number of control points Original feline 49864 vertices 100 control points 500 control points 4000 control points 9000 control points

Running times n Pentium 2. 4 GHz computer Models Factor (sec. ) Solve (sec. Running times n Pentium 2. 4 GHz computer Models Factor (sec. ) Solve (sec. ) Total (sec. ) 2718 0. 085 0. 004 0. 097 Horse 19851 0. 900 0. 032 0. 996 Camel 39074 2. 096 0. 073 2. 315 Feline 49864 2. 750 0. 110 3. 080 100086 7. 713 0. 240 8. 433 Eight Max Planck # vertices

Applications n Progressive geometry compression and streaming 100 control points 1000 control points 3000 Applications n Progressive geometry compression and streaming 100 control points 1000 control points 3000 control points 100, 086 vertices, 8 seconds 10000 control points

Applications n n Progressive geometry compression and streaming Hole filling Applications n n Progressive geometry compression and streaming Hole filling

Applications n n n Progressive geometry compression and streaming Hole filling Mesh editing Applications n n n Progressive geometry compression and streaming Hole filling Mesh editing

Conclusions n n LS-mesh represents mesh geometry using the mesh connectivity and a sparse Conclusions n n LS-mesh represents mesh geometry using the mesh connectivity and a sparse set of control points Linear reconstruction Arbitrary topology For future work, we’d like to understand better how the mesh connectivity affects the shape or the reconstruction – governed by the shape of the basis vectors – the shape of the singular vectors of the LS system matrix A

Acknowledgments n n n Israel Science Foundation (founded by the Israel Academy of Sciences Acknowledgments n n n Israel Science Foundation (founded by the Israel Academy of Sciences and Humanities) Israeli Ministry of Science German Israel Foundation (GIF) Models courtesy of Max-Planck Institut für Informatik, Stanford University, Cyberware Who created the beautiful Camel ? ?

Thank you! Thank you!