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

## Presentation on theme: "Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv University SMI 2004."— Presentation transcript:

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

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

Connectivity Shapes 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 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

The linear system We have two types of constraints: –Fairness constraint L(v i ) = 0  i –Geometric constraint v j = c j j  C L is the mesh Laplacian operator:

Linear least-squares solution L

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

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

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

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

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

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

Spectral basis vs. LS basis 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 The spectral basis does not take any geometric information into account Requires eigendecomposition – impractical for today’s meshes LS basis The LS basis tags specific vertices, which makes it “geometry-aware” Require solving sparse linear least-squares problem – can be done efficiently

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

Some results – varying number of control points 100 control points600 control points1200 control points3600 control points Original camel 39074 vertices

Some results – varying number of control points 100 control points500 control points4000 control points9000 control points Original feline 49864 vertices

Running times Pentium 2.4 GHz computer Models# verticesFactor (sec.)Solve (sec.)Total (sec.) Eight 27180.0850.0040.097 Horse 198510.9000.0320.996 Camel 390742.0960.0732.315 Feline 498642.7500.1103.080 Max Planck 1000867.7130.2408.433

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

Applications Progressive geometry compression and streaming Hole filling

Applications Progressive geometry compression and streaming Hole filling Mesh editing

Conclusions 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 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!

Download ppt "Least-squares Meshes Olga Sorkine and Daniel Cohen-Or Tel-Aviv University SMI 2004."

Similar presentations