Triangulations for computer graphics applications - PowerPoint PPT Presentation

About This Presentation
Title:

Triangulations for computer graphics applications

Description:

Triangulations for computer graphics applications – PowerPoint PPT presentation

Number of Views:38
Avg rating:3.0/5.0
Slides: 57
Provided by: han54
Learn more at: https://old.cescg.org
Category:

less

Transcript and Presenter's Notes

Title: Triangulations for computer graphics applications


1
Triangulations for computer graphics applications
  • I. Kolingerová (kolinger_at_kiv.zcu.cz)

2
Contents
  • 1. Introduction
  • 2. On triangulated models
  • 3. On triangulations
  • 4. The best known planar triangulations
  • 5. Generalizations incoming/outgoing points,
  • refinement smoothing, moving points,
    pseudotriangulations
  • 6. 3D triangulations
  • 7. Applications to CG
  • 8. Conclusion

3
1. Introduction
  • Goal of this paper - a brief survey of
    triangulations used for computer graphics image
    processing
  • and experience with them in applications
  • Triangulation - a set of triangles or tetrahedra
  • on the given set of points,
  • with possibility to add user-defined edges,
    sometimes with possibility of refinement

4
2. On triangulated models
  • A triangulated model planar/ triangulated
    boundary/ tetrahedral

a set of 2D of 2.5D points
planar triangulation
a triangulated model
5
On triangulated models
  • or

a set of 3D points
surface reconstruction in 3D (often via
tetrahedronization) or points projection and
triangulation in a parametric space
a triangulated surface mesh
AVG 7/33
6
On triangulated models
  • or

a set of 3D points
tetrahedronization
a volume model consisting of tetrahedra (i.e.
also of triangles)
AVG 7/33
7
3. On triangulations
Triangulation T(P) of a set of n points in
E2 - a set of edges such that - no two
edges intersect at a point not in P - the
edges divide CH(P) into triangles
8
On triangulations
  • Many triangulations of a given points set
  • many criteria of quality
  • global
  • local
  • angular
  • edge lengths (weight)

9
On triangulations
  • Local criteria an initial triangulation, checks
    of neighbouring simplices on local optimality if
    not optimal, flip to the other configuration if
    exists

10
On triangulations
  • Flipping converges in E2 for any criteria, in E3
    may not converge but works for the criteria used
    in practice
  • Complexity of the triangulation O(n log n) in
    E2, O(n2) in E3, both can be done in O(n)
    expected case
  • Flipping complexity O(n2) in the worst case and
    O(n) in the expected case

11
On triangulations
  • Global criteria polynomial algorithms for
    nearly all criteria unknown, locally optimal
    triangulations not globally optimal
  • An exception Delaunay triangulation - maximizes
    minimal angles locally globally (in E2),
    minimizes the max. containment sphere radius (in
    E2 and E3)... etc.
  • Solution for global extremes suboptimal
    algorithms, heuristics, probabilistic methods

12
On triangulations
  • Other triangulated models not defined by
    local/global criteria surface reconstruction
  • "reconstruct a triangulated surface model to be
    as close as possible to the original geometric
    object given a set of surface points"
  • gt weak definition

13
4. The best known planar triangulations
  • 4.1 Triangulations optimizing angles - most
    important group
  • 4.2 Triangulations optimizing edge lengths
  • 4.3 Multi-criteria optimized triangulations
  • 4.4 Data-dependent triangulations

14
4.1 Triangulations optimizing angles
  • Most important group
  • Maxmin angle (Delaunay triangulation), minmax
    angle, minmin angle, max sum of angles, minmax
    eccentricity (min.distance between CC centre and
    triangle vertices)

DT
15
Delaunay triangulation DT(P)
  • The circumcircle of any triangle in DT(P) does
    not contain any other point of P
  • Maximizes the minimum angles
  • The most equiangular triangles
  • O(n log n) - worst case optimal

16
Algorithms for DT(P)
  • Local improvement by edge flipping
  • Divide conquer
  • Incremental insertion
  • Incremental construction
  • Sweeping
  • High-dimensional embedding
  • DC and sweeping the fastest but complicated and
    not flexible enough
  • Our recommendation incremental insertion

17
A real data set (20 000 points, 40 000 triangles)
18
4.2 Triangulations optimizing edge lengths
  • Less used in practice higher complexity
  • Minimum weight triangulation (MWT),
  • greedy triangulation (GT), minmax edge
    length

DT
GT
MWT
19
Greedy triangulation GT(P)
  • Consists of the shortest possible compatible
    edges
  • Optimal algorithm yet not known
  • expected O(n) case up to O(n3) worst case

DT
GT
GT
DT
20
4.3 Multi-criteria optimized triangulations
  • Optimization of several combined criteria
  • Non-deterministic computation using local edge
    swaps
  • Slow

21
4.4 Data-dependent triangulations (DDT)
  • For data with a steep slope
  • Takes into consideration also heights of points,
    angles between triangle normals

DDT
22
DDT is suitable for Triangulation
without considering heights does not respect the
break
Considering heights
23
5. Generalizations
  • 5.1 Constrained edges
  • 5.2 Incoming/outgoing points
  • 5.3 Refinement smoothing
  • 5.4 Moving points
  • 5.5 Pseudotriangulations

24
5.1 Constrained edges
  • The edges prescribed to a triangulation

25
5.2 Incoming/outgoing points
Incoming points easy namely for
incremental algorithms
26
Incoming/outgoing points
Outgoing points a bit more difficult (but
still OK) data structures must be able
to handle it
27
5.3 Refinement smoothing
Triangulation on the given points may be bad
(even Delaunay)
Improvement possible by adding points and
smoothing the mesh
28
5.4 Moving points
  • All points move at the same time
  • Constant velocities, linear trajectories
  • Parameters are known in advance gt
  • mesh changes can be planned
  • An event queue
  • DT most important events - 4 co-circular
    points,
  • points depend on t
  • gt a determinant of 4x4 matrix with
    variable items
  • gt 4th order polynomial equation to be
    solved

29
Moving points
A small demo one moving point Still not too much
stable
(c) T.Vomácka,2007
30
5.5 Pseudotriangulations
Triangles not exciting enough? Too regular?
Boring?
(c) J.Trcka, 2007
What about pseudotriangulations?
31
6. 3D triangulations
  • Problems against 2D number of tetrahedra may
    differ for one set of points , maximally O(n2)
    tetrahedra, low readability
  • In CG and image processing DT most often

n35
32
Delaunay triangulation in 3D
  • Min max radii of enclosing spheres nothing more
  • Algorithms not all approaches converge
  • Most often incremental insertion

33
7. Applications to CG
7.1 Real time terrain modifications 7.2 Contour
lines computation and improvement 7.3
Reconstruction of planar domain boundaries 7.4
Image and video representation 7.5 Surface
reconstruction 7.6 Outliers removal 7.7 Tunnels
in protein molecules
34
7.1 Real time terrain modifications
Circle tool demos
Drag demo
(c) J.Kadlec V. Purchart, 2007
35
7.2 Contour lines computation and improvement
Contour lines computed automatically may have
problems
(c) I.Kolingerová, M.Dolák, V.Strych, 2003-7
36
Contour lines computation and improvement
  • Solution
  • manual
  • automatic
  • Manual imposing constrained edges

37
Contour lines computation and improvement
  • Automatic to find artifacts automatically
  • and use constrained edges
  • ??
  • At least flat areas

38
Contour lines computation and improvement
39
7.3 Reconstruction of planar domain boundaries
Remove triangles with at least one edge
longer than some limit
(c) I.Kolingerová, B.Žalik, 2006
40
Reconstruction of planar domain boundaries
Sometimes difficult to decide OK for practical use
It can be used also for holes
41
7.4 Image and video representation
A height array, volume data x an adaptive
mesh, tetrahedra
JPEG contra constrained-DT based coding
(c) J.Polec, M.Partyk, I.Kolingerová, 2003-5
42
Image and video representation
Video as volume data
Original and tetrahedra-compressed images from
a video
(c) M.Varga, 2007
43
7.5 Surface reconstruction
(c) M.Varnuška, 2005
44
Surface reconstruction
  • Modification of CRUST by Nina Amenta
  • - DT 3D - a superset of surface triangles
  • The surface approximation based on the shape of
    the dual Voronoi cells shape and on the surface
    normals estimates

45
Surface reconstruction
  • Post-processing to extract a manifold and to
    correct boundaries

46
Surface reconstruction
47
Surface reconstruction
  • Noisy data - still a problem, post-processing
    necessary

Data VRVis TU Graz
48
7.6 Outliers removal
Triangulation - a planar graph Delaunay
triangulation - a hypergraph of the Minimum
Spanning Tree
(c) I.Kolingerová, 2004
49
Outliers removal
It can be used to find clusters and remove
outliers
50
Outliers removal
51
7.7 Tunnels in protein molecules
A protein
A protein a tunnel
(c) Implementation M. Zemek, 2007, Original
solution P.Medek,
P.Beneš, J.Sochor
52
Tunnels in protein molecules
A regular triangulation, a power diagram and a
tunnel in protein molecules (2D version)
53
Tunnels in protein molecules
A protein 3D RT
3D regular triangulation
54
Tunnels in protein molecules
A protein a tunnel
3D regular triangulation a tunnel
55
8. Conclusion
  • Triangulations rich and interesting topic, very
    useful also in computer graphics and image
    processing

Much work done, still many challenges, namely in
3D An interesting and grateful topic for research
56
Thanks for your attention
Write a Comment
User Comments (0)
About PowerShow.com