1 Note on QEM Implementation. 2 Algorithm Summary.

Slides:



Advertisements
Similar presentations
1. Find the cost of each of the following using the Nearest Neighbor Algorithm. a)Start at Vertex M.
Advertisements

Lecture 5: Network Flow Algorithms Max-Flow Min-Cut Single-Source Shortest-Path (SSSP) Job Sequencing.
Size-estimation framework with applications to transitive closure and reachability Presented by Maxim Kalaev Edith Cohen AT&T Bell Labs 1996.
Surface Simplification using Quadric Error Metrics Guowei Wu.
Surface Simplification Using Quadric Error Metrics Speaker: Fengwei Zhang September
The CORS method Selecting the roots of a system of polynomial equations with combinatorial optimization H. Bekker E.P. Braad B. Goldengorin University.
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.
5/1/2000Deepak Bandyopadhyay / UNC Chapel Hill 1 Extended Quadric Error Functions for Surface Simplification Deepak Bandyopadhyay COMP 258 F2000 Project.
Graph Algorithms: Minimum Spanning Tree We are given a weighted, undirected graph G = (V, E), with weight function w:
Spring 2010CS 2251 Graphs Chapter 10. Spring 2010CS 2252 Chapter Objectives To become familiar with graph terminology and the different types of graphs.
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.
Advanced Computer Graphics (Spring 2005) COMS 4162, Lecture 10: Mesh simplification Ravi Ramamoorthi Many slides courtesy.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2014.
1 Shortest Path Calculations in Graphs Prof. S. M. Lee Department of Computer Science.
Table of Contents Ellipse - Finding the Equation Recall that the two equations for the ellipse are given by... Horizontal EllipseVertical Ellipse.
Theory of Computing Lecture 10 MAS 714 Hartmut Klauck.
Lecture 12-2: Introduction to Computer Algorithms beyond Search & Sort.
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 Numerical geometry of non-rigid shapes Shortest path problems Shortest path problems Lecture 2 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Lecture 5: Network Flow Algorithms Single-Source Shortest-Path (SSSP) (Dijkstra's Algorithm) Max Flow - Min Cut (Ford-Fulkerson) Job Sequencing.
10/02/2001CS 638, Fall 2001 Today Level of Detail Overview Decimation Algorithms LOD Switching.
10.4 Hyperbolas JMerrill Definition A hyperbola is the set of all points in a plane, the difference of whose distances from two distinct fixed point.
DPL10/16/2015 CS 551/651: Simplification Continued David Luebke
Hyperbolas 9.3. Definition of a Hyperbola A hyperbola is the set of all points (x, y) in a plane, the difference of whose distances from two distinct.
Ellipse Standard Equation Hyperbola. Writing equation of an Ellipse Example: write the standard form on an ellipse that has a vertex at (0,5) and co-vertex.
1 Dr. Scott Schaefer Surface Simplification. 2/32 Surface Simplification Given a closed polygon model, reduce the number of polygons and maintain appearance.
CSE554SimplificationSlide 1 CSE 554 Lecture 7: Simplification Fall 2013.
CSE554Fairing and simplificationSlide 1 CSE 554 Lecture 6: Fairing and Simplification Fall 2012.
11.3 Ellipses Objective: By the end of the lesson, you should be able to write an equation of an ellipse and sketch its graph.
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
Surface Simplification Using Quadric Error Metrics Michael Garland Paul S. Heckbert August 1997 Michael Garland Paul S. Heckbert August 1997.
Advanced Computer Graphics CSE 190 [Spring 2015], Lecture 9 Ravi Ramamoorthi
EXAMPLE 3 Write an equation of a translated parabola Write an equation of the parabola whose vertex is at (–2, 3) and whose focus is at (–4, 3). SOLUTION.
Mesh Resampling Wolfgang Knoll, Reinhard Russ, Cornelia Hasil 1 Institute of Computer Graphics and Algorithms Vienna University of Technology.
Prims Algorithm for finding a minimum spanning tree
Graphs Definition: a graph is an abstract representation of a set of objects where some pairs of the objects are connected by links. The interconnected.
Main Index Contents 11 Main Index Contents Graph Categories Graph Categories Example of Digraph Example of Digraph Connectedness of Digraph Connectedness.
Conics A conic section is a graph that results from the intersection of a plane and a double cone.
User-Guided Simplification
CS475 3D Game Development Level Of Detail Nodes (LOD)
Disjoint Path Routing Algorithms
Enumerating Distances Using Spanners of Bounded Degree
Randomized Algorithms CS648
Ellipses & Hyperbolas.
Section 10.2 – The Ellipse Ellipse – a set of points in a plane whose distances from two fixed points is a constant.
Ellipses Ellipse: set of all points in a plane such that the sum of the distances from two given points in a plane, called the foci, is constant. Sum.
Convex Sets & Concave Sets
Missing Lines and Views
Topological Sort CSE 373 Data Structures Lecture 19.
Unit 1 – Conic Sections Section 1.4 – The Ellipse Calculator Required
Richard Anderson Winter 2009 Lecture 6
distance out from center distance up/down from center
Writing Equations of Ellipses
Chap 10. Geometric Level of Detail
Section 10.3 – The Ellipse a > b a – semi-major axis
CSE 373 Data Structures and Algorithms
Chapter 16 1 – Graphs Graph Categories Strong Components
Ellipse Skills Practice 70
CSE 417: Algorithms and Computational Complexity
10.1 Conics And 1.5 Circles Copyright © 2013 Pearson Education, Inc. All rights reserved.
Homework Questions Page 188 #1-17 odd.
Richard Anderson Lecture 5 Graph Theory
10.3 Ellipses.
10.1 Conics And 1.5 Circles Copyright © 2013 Pearson Education, Inc. All rights reserved.
Missing Lines and Views
Presentation transcript:

1 Note on QEM Implementation

2 Algorithm Summary

3 2D Version Think clearly on how 2D is done and extrapolate how this will be done in 3D

4 Required on Data Structure Vertex Pos List edges List pairs … ?! Edge Vertex v1, v2 Preparation: Modify your sketch with the proposed data structure Able to remove points on contour

5 Visualizing Ellipsoids

6 Visualizing Q Center of ellipse: Reference

7 Q for Initial Vertices l 1 : a 1 x+b 1 y+c 1 =0 l 2 : a 2 x+b 2 y+c 2 =0 v d 2 (v,l 1 ) = (a 1 x+b 1 y+c 1 ) 2 = (p 1 T v) 2 = v T (p 1 p 1 T ) v d 2 (v,l 2 ) = … = v T (p 2 p 2 T ) v Q (v) = v T (p 1 p 1 T + p 2 p 2 T ) v

8 Error Metric at Vertices

9 Optimal Position of V

10 Valid Pairs (1:edge) v1v1 v2v2 Q 1 =Q(v 1 ) Q2Q2 For each edge (v 1 v 2 ): Compute v-bar from Q 1 and Q 2 Evaluate the contracting cost: v T (Q 1 +Q 2 )v

11 Valid Pair (2: aggregation) C(n,2) to select the pair whose distance is less than  v1v1 v2v2 Q1Q1 Q2Q2 Computation of v-bar and cost: same as case 1

12 Info Stored in a Pair (v1,v2, Q1, Q2, v-bar, cost) Sorted by cost value (start contracting from minimum cost) More than one pair may be associated with the same vertex When a vertex is changed, updates need to be done …

13 Example: update v 1,Q 1 v 2,Q 2 v 3,Q 3 Pair contraction

14 Example: update v 1,Q 1 v 2,Q 2 v 3,Q 3 v 1, Q 1 +Q 2

15 Example: update v 3,Q 3 v 1, Q 1 +Q 2 Update all pairs involving v1

16 Iteration Least cost pair: v1 to stay, v2 to die Update v1 position New Q for v1 = Q1+Q2 Replace occurrence of v2 in all edges of v2 as v1 [doubly link] make v1 aware of these new edges remove degenerate edge (for case1) Update the pairs involving v1 v1v1 v2v2 Q1Q1 Q2Q2 v3v3 Q3Q3

17 Numerical Example L1: y-5=0 L2: x+y-8 = 0 L3: x-5=0 (3,5) (5,3) l1l1 l2l2 l3l3 v1v1 v2v2

18 Example (cont) (3,5) (5,3) l1l1 l2l2 l3l3 v1v1 v2v2

19 Line Equation Thru Two Pts Reference