Presentation is loading. Please wait.

Presentation is loading. Please wait.

Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing.

Similar presentations


Presentation on theme: "Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing."— Presentation transcript:

1 Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing Computer Science Department University of California, Davis joy@cs.ucdavis.edu

2 Tutorial Vis2000Mesh-Based MethodsSlide 2 Multiresolution Methods

3 Tutorial Vis2000Mesh-Based MethodsSlide 3 Multiresolution Methods (Crater Lake, USA)(Courtesy: M.Bertram, UC Davis)

4 Tutorial Vis2000Mesh-Based MethodsSlide 4 Multiresolution Methods (Courtesy: M.Bertram, UC Davis)(Crater Lake, USA)

5 Tutorial Vis2000Mesh-Based MethodsSlide 5 Multiresolution Methods (Courtesy: M.Bertram, UC Davis)(Crater Lake, USA)

6 Tutorial Vis2000Mesh-Based MethodsSlide 6 (Courtesy: M.Bertram, UC Davis) Multiresolution Methods (Crater Lake, USA)

7 Tutorial Vis2000Mesh-Based MethodsSlide 7 Objective We wish to create a multiresolution view of a data set, and We want to do this by dealing only with the mesh and the data values directly. –No wavelets! –No splines! –Just the mesh!

8 Tutorial Vis2000Mesh-Based MethodsSlide 8 Bottom-up Methods –Start with the finest resolution. –Iteratively remove elements to generate lower- resolution versions of the data Top-down Methods –Start with a simplified mesh that coarsely approximates the given data set. –Add elements to this mesh, generating better approximations at each step. The Basic Methods

9 Tutorial Vis2000Mesh-Based MethodsSlide 9 Classification of bottom-up methods Select an element of the mesh –A vertex –An edge –A triangle –A tetrahedron Remove the element and all mesh edges that connect to the element. Replace the resulting hole in the mesh with fewer triangular or tetrahedral elements.

10 Tutorial Vis2000Mesh-Based MethodsSlide 10 Classification of bottom-up methods

11 Tutorial Vis2000Mesh-Based MethodsSlide 11 Bottom-up methods Remove elements, creating a hole in the mesh.

12 Tutorial Vis2000Mesh-Based MethodsSlide 12 Classification of bottom-up methods Re-triangulate the hole using fewer elements

13 Tutorial Vis2000Mesh-Based MethodsSlide 13 Bottom-up Methods We would like to fill the hole “optimally” –The error between the two triangulations should be minimized. (Examples: height fields) Hausdorff error is best, but most errors are approximated (L 1,L 2, L ∞ ) –The number of triangles should be minimized. “reduced” is OK

14 Tutorial Vis2000Mesh-Based MethodsSlide 14 Bottom-up Methods Most methods operate from a priority queue of elements. –Vertices, edges, or triangles are ordered in a priority queue and processed one-by-one as they come out of the queue. –The “cost function,” which assigns the priority, determines the ordering.

15 Tutorial Vis2000Mesh-Based MethodsSlide 15 Bottom-up Methods Vertex Removal Methods Edge Removal Methods Triangle Removal Methods Tetrahedra Removal Methods

16 Tutorial Vis2000Mesh-Based MethodsSlide 16 Vertex removal methods Select an element to be eliminated.

17 Tutorial Vis2000Mesh-Based MethodsSlide 17 Vertex removal methods Select all triangles sharing this vertex.

18 Tutorial Vis2000Mesh-Based MethodsSlide 18 Vertex removal methods Remove the selected triangles, creating the hole.

19 Tutorial Vis2000Mesh-Based MethodsSlide 19 Vertex removal methods Fill the hole with triangles.

20 Tutorial Vis2000Mesh-Based MethodsSlide 20 Vertex removal methods Most frequently used method of triangulations: –Use a constrained Delaunay triangulation to fill the hole (Schroeder, et al.). –Works best on height fields –Must alter the “Delaunay” criterion slightly to work with data sets that are not height fields

21 Tutorial Vis2000Mesh-Based MethodsSlide 21 Prioritizing Vertices for Removal Using a point-to-plane distance test. –Fit a plane through the point neighboring each vertex. –Measure the distance of each vertex from its respective best-fit plane. –Higher priority to those points that have associated the smaller distances.

22 Tutorial Vis2000Mesh-Based MethodsSlide 22 Edge removal methods Select an edge to be eliminated.

23 Tutorial Vis2000Mesh-Based MethodsSlide 23 Edge removal methods Select all triangles adjacent to this edge.

24 Tutorial Vis2000Mesh-Based MethodsSlide 24 Edge removal methods Remove these triangles, creating a hole.

25 Tutorial Vis2000Mesh-Based MethodsSlide 25 Edge removal methods Fill the hole with triangles.

26 Tutorial Vis2000Mesh-Based MethodsSlide 26 Triangle removal methods Select a triangle for removal

27 Tutorial Vis2000Mesh-Based MethodsSlide 27 Triangle removal methods Select all triangles that are adjacent to the selected one.

28 Tutorial Vis2000Mesh-Based MethodsSlide 28 Triangle removal methods Remove the selected triangles

29 Tutorial Vis2000Mesh-Based MethodsSlide 29 Triangle removal methods Re-triangulate the region

30 Tutorial Vis2000Mesh-Based MethodsSlide 30 Bottom-up methods Mathematical conditions must be established that select the element to be removed. Methods must be established that “optimally” fill the hole, minimizing the “error” between the resulting data sets.

31 Tutorial Vis2000Mesh-Based MethodsSlide 31 Vertex removal methods

32 Tutorial Vis2000Mesh-Based MethodsSlide 32 Vertex removal methods Use a constrained Delaunay triangulation to fill the hole. (Schroeder, et al., 1992).

33 Tutorial Vis2000Mesh-Based MethodsSlide 33 Edge collapse methods

34 Tutorial Vis2000Mesh-Based MethodsSlide 34 Edge collapse methods

35 Tutorial Vis2000Mesh-Based MethodsSlide 35 Edge collapse methods

36 Tutorial Vis2000Mesh-Based MethodsSlide 36 Edge collapse methods

37 Tutorial Vis2000Mesh-Based MethodsSlide 37 Edge collapse methods

38 Tutorial Vis2000Mesh-Based MethodsSlide 38 Edge collapse methods

39 Tutorial Vis2000Mesh-Based MethodsSlide 39 Edge collapse methods

40 Tutorial Vis2000Mesh-Based MethodsSlide 40 Edge collapse methods

41 Tutorial Vis2000Mesh-Based MethodsSlide 41 Edge collapse methods

42 Tutorial Vis2000Mesh-Based MethodsSlide 42 Edge collapse methods

43 Tutorial Vis2000Mesh-Based MethodsSlide 43 Edge collapse methods

44 Tutorial Vis2000Mesh-Based MethodsSlide 44 Triangle collapse methods

45 Tutorial Vis2000Mesh-Based MethodsSlide 45 Triangle collapse methods

46 Tutorial Vis2000Mesh-Based MethodsSlide 46 Triangle collapse methods

47 Tutorial Vis2000Mesh-Based MethodsSlide 47 Triangle collapse methods

48 Tutorial Vis2000Mesh-Based MethodsSlide 48 Triangle collapse methods

49 Tutorial Vis2000Mesh-Based MethodsSlide 49 Prioritizing Elements Priority of an element. Prioritizes for the characteristic you want to select Prioritizes for topology characteristics you wish to select Prioritizes inversely for artifacts that your algorithm produces that you would like to avoid. P(E) = F(E) + T(E) + A(E)

50 Tutorial Vis2000Mesh-Based MethodsSlide 50 Priority-Queue Methods Using the priority (cost) function, prioritize all elements in the mesh. Collapse the element with the lowest priority. Re-adjust the priorities of the elements of the queue affected by the collapse.

51 Tutorial Vis2000Mesh-Based MethodsSlide 51 Progressive Meshes Hoppe, SIGGRAPH 97 Uses edge collapse –Benefit: Uses only the points of the original mesh. Adds no points to the mesh. Prioritizes edge collapse operations by using strategies from “mesh optimizations”

52 Tutorial Vis2000Mesh-Based MethodsSlide 52 Progressive Meshes Priority of an element. Distance of V from the original mesh. Energy if a spring is placed on each edge. Scalar attribute deviation

53 Tutorial Vis2000Mesh-Based MethodsSlide 53 QEM Simplification Garland and Heckbert, SIGGRAPH 97 An edge-collapse method. Introduces the Quadric Error Metric to prioritize collapses –A 4x4 matrix Q is associated with each vertex.

54 Tutorial Vis2000Mesh-Based MethodsSlide 54 QEM Simplification Error of a vertex v is v T Qv Compute matrices Q for all vertices Compute the collapse cost an edge by summing the quadric error metrics of its vertices, i.e., of the edge joining v 1 and v 2 by Q 1 +Q 2. The priority queue is constructed on the “collapse cost”

55 Tutorial Vis2000Mesh-Based MethodsSlide 55 QEM Simplification (Courtesy: M.Garland, UIUC)

56 Tutorial Vis2000Mesh-Based MethodsSlide 56 QEM Simplification Full Resolution60,000 triangles1000 triangles (Courtesy: M.Garland, UIUC)

57 Tutorial Vis2000Mesh-Based MethodsSlide 57 Triangle-Collapse Algorithms Gieng, et al., Visualization ’98 Proceedings Collapses individual triangles to a point. Collapse point is chosen by a best-fit quadric to the surface about a triangle.

58 Tutorial Vis2000Mesh-Based MethodsSlide 58 Prioritizing for Triangle Collapse Priority of an element. Prioritizes high for low absolute curvature Prioritizes high for equilateral triangles, low for skinny triangles. Prioritizes high for collapses that do not generate high-valence vertices Prioritizes high for low area

59 Tutorial Vis2000Mesh-Based MethodsSlide 59 Choosing the collapse point

60 Tutorial Vis2000Mesh-Based MethodsSlide 60 Triangle collapse (Courtesy: G. Schussman, UC Davis)

61 Tutorial Vis2000Mesh-Based MethodsSlide 61 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

62 Tutorial Vis2000Mesh-Based MethodsSlide 62 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

63 Tutorial Vis2000Mesh-Based MethodsSlide 63 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

64 Tutorial Vis2000Mesh-Based MethodsSlide 64 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

65 Tutorial Vis2000Mesh-Based MethodsSlide 65 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

66 Tutorial Vis2000Mesh-Based MethodsSlide 66 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

67 Tutorial Vis2000Mesh-Based MethodsSlide 67 Collapsing the bunny (Courtesy: G. Schussman, UC Davis)

68 Tutorial Vis2000Mesh-Based MethodsSlide 68 The error between meshes

69 Tutorial Vis2000Mesh-Based MethodsSlide 69 Crater Lake data set (Courtesy: I. Trotts, UC Davis)

70 Tutorial Vis2000Mesh-Based MethodsSlide 70 Crater Lake data set (Courtesy: I. Trotts, UC Davis)

71 Tutorial Vis2000Mesh-Based MethodsSlide 71 Tetrahedral Meshes Topological problems of tetrahedron collapse algorithms are overwhelming. Resorting to edge collapse algorithms –Even then, the topological problems are difficult to overcome.

72 Tutorial Vis2000Mesh-Based MethodsSlide 72 Tetrahedral collapse algorithms Consider a triangle mesh on a regular grid. Collapse this edge

73 Tutorial Vis2000Mesh-Based MethodsSlide 73 Tetrahedral collapse algorithms

74 Tutorial Vis2000Mesh-Based MethodsSlide 74 Tetrahedral collapse algorithms

75 Tutorial Vis2000Mesh-Based MethodsSlide 75 Tetrahedral collapse algorithms

76 Tutorial Vis2000Mesh-Based MethodsSlide 76 Tetrahedral collapse algorithms

77 Tutorial Vis2000Mesh-Based MethodsSlide 77 Tetrahedral collapse algorithms

78 Tutorial Vis2000Mesh-Based MethodsSlide 78 Tetrahedral collapse algorithms Two triangles will become degenerate.

79 Tutorial Vis2000Mesh-Based MethodsSlide 79 Tetrahedral collapse algorithms (Courtesy: I. Trotts, UC Davis)

80 Tutorial Vis2000Mesh-Based MethodsSlide 80 Tetrahedral collapse algorithms (Courtesy: I. Trotts, UC Davis)

81 Tutorial Vis2000Mesh-Based MethodsSlide 81 Tetrahedral collapse algorithms (Courtesy: I. Trotts, UC Davis)

82 Tutorial Vis2000Mesh-Based MethodsSlide 82 Tetrahedral collapse algorithms (Courtesy: I. Trotts, UC Davis)

83 Tutorial Vis2000Mesh-Based MethodsSlide 83 Tetrahedral collapse algorithms (Courtesy: I. Trotts, UC Davis)

84 Tutorial Vis2000Mesh-Based MethodsSlide 84 Summary of bottom-up methods All methods start with the original mesh. All methods remove elements from the mesh, replacing them by fewer elements. Most work with a “priority queue”

85 Tutorial Vis2000Mesh-Based MethodsSlide 85 Top-down methods These methods start with a very coarse approximation to the original mesh. New points are inserted into the coarse mesh depending on an error estimate.

86 Tutorial Vis2000Mesh-Based MethodsSlide 86 Delaunay Methods Cignoni, deFloriani, Scopigno papers Start with a coarse mesh. Insert the point of the original data set that has the maximum error. Re-triangulate to insure a Delaunay triangulation. “Delaunay” definition may have to be changed for non-height fields.

87 Tutorial Vis2000Mesh-Based MethodsSlide 87 Voronoi Methods Schussman, Bertram, et al., 2000 For each point, use a Voronoi diagram to establish the “grid.” Use Sibson’s interpolant on Voronoi Cells for approximation.

88 Tutorial Vis2000Mesh-Based MethodsSlide 88 “Dying Sun” 100 tiles500 tiles2000 tiles

89 Tutorial Vis2000Mesh-Based MethodsSlide 89 Vector-field Simplification Heckel, et al., Visualization ’99 Use clustering to obtain groups of elements Represent each cluster by a single element –Point at the center of the cluster, and a vector Use a scattered data interpolant to obtain approximations of other points in the field

90 Tutorial Vis2000Mesh-Based MethodsSlide 90 Splitting Clusters of Vectors

91 Tutorial Vis2000Mesh-Based MethodsSlide 91 Visualization Space Error Streamline error –Compute streamline pairs, using original field points as seeds –Define the error as the deviation of streamline pairs:

92 Tutorial Vis2000Mesh-Based MethodsSlide 92 Splitting Clusters of Vectors 40 Clusters300 Clusters (Courtesy: B. Heckel, UC Davis)

93 Tutorial Vis2000Mesh-Based MethodsSlide 93 Splitting Clusters of Vectors

94 Tutorial Vis2000Mesh-Based MethodsSlide 94 Splitting Clusters of Vectors 200 Clusters 2000 Clusters (Courtesy: B. Heckel, UC Davis)

95 Tutorial Vis2000Mesh-Based MethodsSlide 95 Summary of top-down methods All methods refine a coarse approximation, creating successively finer mesh approximations. This area is not as well developed as the bottom-up methods.

96 Tutorial Vis2000Mesh-Based MethodsSlide 96 Challenges Complex Surfaces (Isosurface data) Not just a few (thousands of) polygons, but billions. Most of the mesh-based algorithms do not scale well in our initial tests! (Courtesy: M.Bertram, UC Davis)

97 Tutorial Vis2000Mesh-Based MethodsSlide 97 Challenges 100%15% - smoothed (Courtesy: M.Bertram, UC Davis)

98 Tutorial Vis2000Mesh-Based MethodsSlide 98 Challenges (Courtesy: M.Duchaineau, LLNL)

99 Tutorial Vis2000Mesh-Based MethodsSlide 99 1,187,000 points5% - 59,000 points Challenges

100 Tutorial Vis2000Mesh-Based MethodsSlide 100 Thank You! joy@cs.ucdavis.eduoy@cs.ucdavis.edu http://graphics.cs.ucdavis.edu

101 Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing Computer Science Department University of California, Davis joy@cs.ucdavis.edu


Download ppt "Visualization 2000 Tutorial Mesh-Based Methods for Multiresolution Representations Instructor: Ken Joy Center for Image Processing and Integrated Computing."

Similar presentations


Ads by Google