Surface Simplification using Quadric Error Metrics Guowei Wu.

Slides:



Advertisements
Similar presentations
 Over-all: Very good idea to use more than one source. Good motivation (use of graphics). Good use of simplified, loosely defined -- but intuitive --
Advertisements

Surface Simplification Using Quadric Error Metrics Speaker: Fengwei Zhang September
1.3 Use Midpoint and Distance Formulas
Advanced Computer Graphics (Fall 2010) CS 283, Lecture 7: Quadric Error Metrics Ravi Ramamoorthi
Mesh Simplification. Plan Introduction Mesh Simplifications Current Techniques The Projet Results.
Computing Stable and Compact Representation of Medial Axis Wenping Wang The University of Hong Kong.
5/1/2000Deepak Bandyopadhyay / UNC Chapel Hill 1 Extended Quadric Error Functions for Surface Simplification Deepak Bandyopadhyay COMP 258 F2000 Project.
High-Quality Simplification with Generalized Pair Contractions Pavel Borodin,* Stefan Gumhold, # Michael Guthe,* Reinhard Klein* *University of Bonn, Germany.
New quadric metric for simplifying meshes with appearance attributes Hugues Hoppe Microsoft Research IEEE Visualization 1999 Hugues Hoppe Microsoft Research.
Stefan Gumhold,* Pavel Borodin, # Reinhard Klein # *University of Tuebingen, Germany # University of Bonn, Germany Intersection Free Simplification.
Mesh Simplification Global and Local Methods:
CENG 789 – Digital Geometry Processing 05- Smoothing and Remeshing
Cutting a surface into a Disk Jie Gao Nov. 27, 2002.
Visualization and graphics research group CIPIC January 30, 2003Multiresolution (ECS 289L) - Winter MAPS – Multiresolution Adaptive Parameterization.
Visualization and graphics research group CIPIC Feb 18, 2003Multiresolution (ECS 289L) - Winter Progressive Meshes (SIGGRAPH ’96) By Hugues Hoppe.
Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing.
Advanced Computer Graphics (Spring 2006) COMS 4162, Lecture 11: Quadric Error Metrics Ravi Ramamoorthi Some material.
Visualization and graphics research group CIPIC January 21, 2003Multiresolution (ECS 289L) - Winter Surface Simplification Using Quadric Error Metrics.
ECS 289L A Survey of Mesh-Based Multiresolution Representations Ken Joy Center for Image Processing and Integrated Computing Computer Science Department.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 10: Mesh simplification Ravi Ramamoorthi Many slides courtesy.
Visualization and graphics research group CIPIC February 13, 2003ECS289L – Multiresolution Methods – Winter Illumination Dependent Refinement of.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
1 Note on QEM Implementation. 2 Algorithm Summary.
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert.
A D V A N C E D C O M P U T E R G R A P H I C S CMSC 635 January 15, 2013 Quadric Error Metrics 1/20 Quadric Error Metrics.
1 Background and definitions Cindy Grimm. 2 Siggraph 2005, 8/1/ Overview What does it mean to be.
Presented By Greg Gire Advised By Zoë Wood California Polytechnic State University.
1 Surface Applications Fitting Manifold Surfaces To 3D Point Clouds, Cindy Grimm, David Laidlaw and Joseph Crisco. Journal of Biomechanical Engineering,
10/02/2001CS 638, Fall 2001 Today Level of Detail Overview Decimation Algorithms LOD Switching.
Progressive Meshes with Controlled Topology Modification University of Bonn Institute II. for Computer Science Computer Graphics Group Pavcl Borodin Rchinhard.
DPL10/16/2015 CS 551/651: Simplification Continued David Luebke
Level of Detail: Choosing and Generating LODs David Luebke University of Virginia.
1 Dr. Scott Schaefer Surface Simplification. 2/32 Surface Simplification Given a closed polygon model, reduce the number of polygons and maintain appearance.
Functions of Several Variables Copyright © Cengage Learning. All rights reserved.
Surface Simplification Using Quadric Error Metrics Garland & Heckbert Siggraph 97.
Triangular Mesh Decimation
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
HRTFs can be calculated
CSE554Fairing and simplificationSlide 1 CSE 554 Lecture 6: Fairing and Simplification Fall 2012.
Simplifying Surfaces with Color and Texture using Quadric Error Metrics Michael Garland Paul S. Heckbert Carnegie Mellon University October 1998 Michael.
Slide Copyright © 2006 Pearson Education, Inc. Publishing as Pearson Addison-Wesley.
Extraction and remeshing of ellipsoidal representations from mesh data Patricio Simari Karan Singh.
Polygonal Simplification Techniques
Mesh Coarsening zhenyu shu Mesh Coarsening Large meshes are commonly used in numerous application area Modern range scanning devices are used.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 8 Ravi Ramamoorthi
CS418 Computer Graphics John C. Hart
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 7 Ravi Ramamoorthi
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert August 1997 Michael Garland Paul S. Heckbert August 1997.
Using simplified meshes for crude registration of two partially overlapping range images Mercedes R.G.Márquez Wu Shin-Ting State University of Matogrosso.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 9 Ravi Ramamoorthi
3D Object Representations graphics scenes contain solid geometric objects trees, flowers, clouds, rocks, water representations surface ↔interior models.
Greg Humphreys CS445: Intro Graphics University of Virginia, Fall 2003 Subdivision Surfaces Greg Humphreys University of Virginia CS 445, Fall 2003.
Hierarchical Face Clustering on Polygonal Surfaces Michael Garland University of Illinois at Urbana–Champaign Andrew Willmott Paul S. Heckbert Carnegie.
Equations of Circles. Vocab Review: Circle The set of all points a fixed distance r from a point (h, k), where r is the radius of the circle and the point.
Level of Detail: Generating LODs David Luebke University of Virginia.
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Rendering Large Models (in real time)
DPL3/10/2016 CS 551/651: Simplification Continued David Luebke
Advanced Computer Graphics (Spring 2013) Mesh representation, overview of mesh simplification Many slides courtesy Szymon Rusinkiewicz.
1 Spherical manifolds for hierarchical surface modeling Cindy Grimm.
Advanced Computer Graphics
CS Computer Graphics II
User-Guided Simplification
CS475 3D Game Development Level Of Detail Nodes (LOD)
Day 138 – Equation of ellipse
Chapter 10 Conic Sections.
Chap 10. Geometric Level of Detail
Simplification of Articulated Mesh
BELLWORK Find the midpoint between the following pairs of points.
Presentation transcript:

Surface Simplification using Quadric Error Metrics Guowei Wu

Surface Simplification Triangulated surface model Several types of simplification techniques – Vertex Decimation – Vertex Clustering – Iterative Edge Contraction – Pair Contraction (QEM)

Surface Simplification Limitation of other methods: – Vertex Decimation: maintain mesh topology, assume manifold model geometry – Vertex Clustering: poor control on simplification process, low quality – Edge Contraction: no aggregation, assume manifold model geometry.

Surface Simplification Manifold Surface – Points on the manifold surface is isomorphic to a disk Non-Manifold Surface – vertices with less than 3 adjoining faces – edges with more or less than two adjoining faces Image source:

Model Boundary Representation Manifold – Half-Edge data structure (directional edge) – Winged-Edge data structure (every edge connects to exactly two faces, one on each side.) Non-Manifold – Radial-Edge data structure (edges can connect to arbitrarily many faces)

Edge Contraction vs Pair Contraction Edge Contraction – Contract v1, v2 to v’ when there is an edge connecting v1 and v2. Pair Contraction Image source: Garland’s presentation in SIGGRAPH97

Aggregation Example Image source: original QEM paper

Pair Selection Considering contracting every possible pair is not applicable. Select a pair v1,v2 – (v1, v2) is an edge – ||v1 – v2|| < t, t is a threshold

Vertex as intersection of planes Vertex can be defined by the set of adjacent faces (planes) V1 F1 F2 F3 F4 F5 F6 V2 V’

Cost of Pair Contraction The cost of contracting a pair (v1,v2) to v’ is the error of replacing v1 and v2 by the new created vertex v’. For a given point, the error is the sum of square distance to the associated set of planes. The cost of the contraction is the sum of square distance to the union of two sets of faces adjacent to v1 and v2. (F1, F2, F3, F4, F5, F6)

Quadric Error Metrics In order to calculate the cost contraction, each vertex must keep track of a set of planes. After the contraction, the newly created vertex should keep track of the union of two sets of planes associated with the previous two vertices. Explicitly storing these planes takes more storage.

Quadric Error Metrics We need the set of planes to calculate the cost of contraction, which is the sum of square distances to the set of planes. As long as the sum of square distance to the set of planes can be calculated, we do not need to store a set of plane equations. The set of plane equations associated with each vertex can be replaced by a 4x4 symmetric matrix Q.

Quadric Error Metrics The distance between a point (x0,y0,z0,1) and a plane ax+by+cz+d=0: – Let p = [a b c d], v = [x0, y0, z0, 1] – Distance formula The sum of square distances: 1

Quadric Error Metrics Sum of Square Distances The quadric matrix Sum of all quadric matrices

Quadric Error Metrics Quadric Surface

When the sum of square distances is fixed, the equation is an equation of quadric surface: (ellipsoid, hyperboloid, etc) The ellipsoid is centered at the vertex. Every point on the ellipsoid surface has the same error. The ellipsoid captures the local shape of the surface.

Example of quadric surface

Optimal position for the new vertex Now we know how to evaluate the cost of contraction, so to determine the cost of contraction, we need to figure out the position of the new vertex after contraction. Solution: find the vertex location that minimize the cost of the contraction.

Optimal position for the new vertex Taking partial derivatives of the cost function: Position for the new Vertex

Optimal position for the new vertex If the matrix is not invertible, find the optimal vertex on the segment joining the vertex pair, or choosing among the two vertices and the midpoint of the two vertices.

Simplification Algorithm Union of two sets of planes

Simplification Result Image source: Garland’s presentation in SIGGRAPH97

Simplification Result Image source: Garland’s presentation in SIGGRAPH97

Conclusion Fast Algorithm and good approximation Compact storage General surface handling

Reference K. Weiler. The Radial Edge data structure: A topological representation for non-manifold geometric boundary modeling. In J. L. Encarnacao, M. J. Wozny, H. W. McLaughlin, editors, Geometric Modeling for CAD Applications, pages Elsevier Science Publishers B. V. (North--Holland), Amsterdam, M. Garland and P. Heckbert, "Simplification using quadric error metrics," Proc. Siggraph 1997 Michael Garland and Paul S. Heckbert,Simplifying Surfaces with Color and Texture using Quadric Error Metrics, IEEE Visualization 98