CPSC 335 Geometric Data Structures in Computer Modeling and GIS Dr. Marina L. Gavrilova Assistant Professor Dept of Comp. Science, University of Calgary,

Slides:



Advertisements
Similar presentations
Efficient access to TIN Regular square grid TIN Efficient access to TIN Let q := (x, y) be a point. We want to estimate an elevation at a point q: 1. should.
Advertisements

 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
3D Graphics Rendering and Terrain Modeling
WFM 6202: Remote Sensing and GIS in Water Management © Dr. Akm Saiful IslamDr. Akm Saiful Islam WFM 6202: Remote Sensing and GIS in Water Management Akm.
Hierarchical Voronoi diagrams for spatial data indexing and paging Christopher Gold Dept. Computing & Mathematics, University of Glamorgan, Pontypridd.
Real-Time Rendering POLYGONAL TECHNIQUES Lecture 05 Marina Gavrilova.
By Groysman Maxim. Let S be a set of sites in the plane. Each point in the plane is influenced by each point of S. We would like to decompose the plane.
DEpthLAUNAY1 DEpthLAUNAY Manuel Abellanas Alfredo de las Vegas Facultad de Informática - UPM.
Spatial Analysis – vector data analysis
Discrete Geometry Tutorial 2 1
1st Meeting Industrial Geometry Computational Geometry ---- Some Basic Structures 1st IG-Meeting.
University of Wisconsin-Milwaukee Geographic Information Science Geography 625 Intermediate Geographic Information Science Instructor: Changshan Wu Department.
Spatial Information Systems (SIS)
3D and Surface/Terrain Analysis
Computational Geometry -- Voronoi Diagram
Geometric Algorithms in 3D Real-Time Rendering and facial Expression Modeling Prof. Marina L. Gavrilova University of Calgary.
1 Further Terrain Rendering and Level of Detail Lecture 8 - Week 4 Advanced Programming for 3D Applications CE
Real-Time Rendering SPEACIAL EFFECTS Lecture 03 Marina Gavrilova.
Geometric Algorithms in Biometrics: Theory and Recent Developments Prof. Marina L. Gavrilova BT Laboratory Dept of Computer Science, University of Calgary,
Geometric Data Structures Dr. M. Gavrilova. Lecture Plan Voronoi diagrams Trees and grid variants.
CS 128/ES Lecture 5b1 Vector Based Data. Great Rivalries in History Lincoln vs. Douglas “The first great Presidential Debates” Trekkies vs. Jedis.
Geog 458: Map Sources and Errors January Representing Geography.
Spatial Information Systems (SIS) COMP Spatial queries and operations.
Cartographic and GIS Data Structures
TU/e computational geometry introduction Mark de Berg.
CS 128/ES Lecture 5b1 Vector Based Data. CS 128/ES Lecture 5b2 Spatial data models 1.Raster 2.Vector 3.Object-oriented Spatial data formats:
Content Subdivision First some basics (control point polygon, mesh)
Chapter 3 2D AND 3D SPATIAL DATA REPRESENTATIONS 김 정 준.
UNC Chapel Hill M. C. Lin Overview of Last Lecture About Final Course Project –presentation, demo, write-up More geometric data structures –Binary Space.
Quadtrees and Mesh Generation Student Lecture in course MATH/CSC 870 Philipp Richter Thursday, April 19 th, 2007.
GI Systems and Science January 23, Points to Cover  What is spatial data modeling?  Entity definition  Topology  Spatial data models Raster.
Spatial data Visualization spatial data Ruslan Bobov
Spatial data models (types)
UNC Chapel Hill M. C. Lin Point Location Chapter 6 of the Textbook –Review –Algorithm Analysis –Dealing with Degeneracies.
Modeling and representation 1 – comparative review and polygon mesh models 2.1 Introduction 2.2 Polygonal representation of three-dimensional objects 2.3.
10/21/03CS679 - Fall Copyright Univ. of Wisconsin Last Time Terrain Dynamic LOD.
Trees for spatial data representation and searching
Technology and Historical Overview. Introduction to 3d Computer Graphics  3D computer graphics is the science, study, and method of projecting a mathematical.
Dr. Marina Gavrilova Associate Professor, Department of Computer Science, University of Calgary, Calgary, Alberta, Canada. Computational Geometry Algorithms:
ADA: 14. Intro to CG1 Objective o give a non-technical overview of Computational geometry, concentrating on its main application areas Algorithm.
Computational Geometry The systematic study of algorithms and data structures for geometric objects, with a focus on exact algorithms that are asymptotically.
Applied Cartography and Introduction to GIS GEOG 2017 EL Lecture-2 Chapters 3 and 4.
Algorithms and Modern Computer Science Dr. Marina L. Gavrilova Dept of Comp. Science, University of Calgary, AB, Canada, T2N1N4.
Dynamic Meshing Using Adaptively Sampled Distance Fields
8. Geographic Data Modeling. Outline Definitions Data models / modeling GIS data models – Topology.
2D/3D Shape Manipulation, 3D Printing Shape Representations Slides from Olga Sorkine February 20, 2013 CS 6501.
Tessellations Sets of connected discrete two-dimensional units -can be irregular or regular –regular (infinitely) repeatable patter of regular polygon.
Spatial Databases: Digital Terrain Model Spring, 2015 Ki-Joune Li.
Spatial Databases - Introduction Spring, 2015 Ki-Joune Li.
Voronoi Diagram (Supplemental)
1 Polygonal Techniques 이영건. 2 Introduction This chapter –Discuss a variety of problems that are encountered within polygonal data sets The.
Computational Geometry The systematic study of algorithms and data structures for geometric objects, with a focus on exact algorithms that are asymptotically.
1 Multi-resolution Tetrahedral Meshes Leila De Floriani Department of Computer and Information Sciences University of Genova, Genova (Italy)
(c) 2000, 2001 SNU CSE Biointelligence Lab Finding Region Another method for processing image  to find “regions” Finding regions  Finding outlines.
Representation and modelling 3 – landscape specialisations 4.1 Introduction 4.2 Simple height field landscapes 4.3 Procedural modeling of landscapes- fractals.
L8 - Delaunay triangulation L8 – Delaunay triangulation NGEN06(TEK230) – Algorithms in Geographical Information Systems.
UNC Chapel Hill M. C. Lin Delaunay Triangulations Reading: Chapter 9 of the Textbook Driving Applications –Height Interpolation –Constrained Triangulation.
Spatial Analysis – vector data analysis Lecture 8 10/12/2006.
3D Object Representations 2009, Fall. Introduction What is CG?  Imaging : Representing 2D images  Modeling : Representing 3D objects  Rendering : Constructing.
Digital Elevation Models (DEMs)Constructing Grid DEMConstructing Contour Map Constructing TIN DEM Grid DEM Quality Metric A Digital Elevation Model (DEM)
1 Geometry for Game. Geometry Geometry –Position / vertex normals / vertex colors / texture coordinates Topology Topology –Primitive »Lines / triangles.
Introduction to Spatial Computing CSE 555
3D Graphics Rendering PPT By Ricardo Veguilla.
3D Object Representations
Statistical surfaces: DEM’s
Principles of GIS Geocomputation – Part II Shaowen Wang
Cartographic and GIS Data Structures
Algorithms and Modern Computer Science
Spatial Databases: Digital Terrain Model
Spatial Databases: Digital Terrain Model
Presentation transcript:

CPSC 335 Geometric Data Structures in Computer Modeling and GIS Dr. Marina L. Gavrilova Assistant Professor Dept of Comp. Science, University of Calgary, AB, Canada, T2N1N4

Topics Survey of applications of computational geometry to modeling and simulation of natural processes and GIS Brief introduction to Voronoi diagrams, ROAM and progressive meshes Application to terrain modeling Application to image processing and visualization

Computational geometry Originated in 1960 with invention of computers Describes algorithms and data structures for solving geometric problems with the use of computational methods Confirmed by practical implementation of methods

Areas of applicability A spectrum of computational geometry applications: Biology Molecular dynamics GIS (Geographical Information Systems) Physics Mechanics Chemistry The Monter Carlo model of a lipid bilayer in water, 8666 atoms

Problems in CG Problems that are addressed include: computing properties of particles arrangements, such as their volume and topology, in a general d-dimensional space testing intersections and collisions between particles finding offset surfaces (related to questions of accessibility of subregions) Solving nearest-neighbours problems Predicting time of the next collision between particles undergoing continuous motion Updating data structures accurately and efficiently Visualizing algorithms for rendering models

Subjects of study in CG Spatial objects: lines, polygons, planes Operations: stored, displayed, manipulated, queried Methods: querying algorithms, optimization algorithms, visualization methods

Topological relationships Adjacent Overlapping Disjoined Inclusion Neighbor Closest neighbor

Long ago… Jorge Luis Borges: "Map of a region was a size of a city, Map of an Empire was a size of a Province"

Now… Digital maps of geographical objects: spatial, or geometric attribute (shape, location, orientation, size) in 2D or 3D non-spatial attribute (descriptive)

Digital maps Geographical object: spatial, or geometric attribute (shape, location, orientation, size) in 2D or 3D non-spatial attribute (descriptive): statistic, population, force, velocity, etc.

What computer scientists are looking for: Not only a goal, but a process itself! Data structure: both inherent and coherent model properties, attributed geometric data structures Ex: Surface representation Algorithms: efficient, reliable, easy to update, portable, easy to implement, possible to visualize

Commonly used data structures in GIS Space partitioning: Planar subdivisions (regular and irregular) Tree-based data structure (segment trees, k-d trees, hierarchical octrees…) Voronoi diagrams Triangulations k cells

Voronoi diagram Given a set of N sites (points) in the plane or a 3D space Distance function d(x,P) between point x and site P is defined according to some metric Voronoi region Vor(P) is the set of all points which are closer to P than to any other site Voronoi diagram is the union of all Voronoi regions

Delaunay triangulation Definition 3. A Delaunay triangulation (DT) is the straight-line dual of the Voronoi diagram obtained by joining all pairs of sites whose Voronoi regions share a common Voronoi edge [Delaunay 34]. Follows from the definition: If two Voronoi regions Vor(P) and Vor(Q) share an edge, then sites P and Q are connected by an edge in the Delaunay triangulation If a Voronoi vertex belongs to Vor(P), Vor(Q) and Vor(R), then DT contains a triangle (P,Q,R) The generalized Delaunay tessellation (DT) is the data structure, dual to the generalized VD, containing proximity information for a set S.

VD and DT (for circles)

Delaunay triangulation in 3D

Delaunay triangulation in 3D, extra point

Distances Distances: Given a set of spherical objects (sites) S in R d. Point x from R d is the nearest neighbor of P from S iff d(x,P) <= d(x,Q), Q from S. Euclidean metric: d(x,P) = d(x,p) - r p Manhattan metric: d(x,P) = d(x,p) - r p = |x 1 - p 1 | +…+ |x d - p d |-r p Supremum metric: d(x,P) = d(x,p) - r p = max(|x 1 - p 1 |…|x d - p d |) - r p Laguerre geometry: d(x,P) = d(x,p) 2 - r 2 p =(x 1 - p 1 ) 2 +…(x d - p d ) 2 - r 2 p

Metric spaces in 2d L1L1 L2L2 LL

Power and Euclidean Voronoi diagrams – biological modeling P Q B(P,Q) Euclidean bisectorPower bisector Power diagram and Delaunay triangulation P Q B(P,Q) Euclidean diagram and Delaunay triangulation

Manhattan and Supremum VD – city planning Supremum bisectors Manhattan bisectors Manhattan diagram and Delaunay triangulation Supremum diagram and Delaunay triangulation

Example of Supremum VD and DT The supremum weighted Voronoi diagram (left) and the corresponding Delaunay triangulation (right) for 1000 randomly distributed sites.

Metric spaces are used: In computer modeling For optimization For point patter analysis For autocorrelation analysis

3D Terrain Rendering Involves transformation of GIS data sources into a 3D coherent system Convert 2D map layers to 3D Using rendering methods to project the 3D data back to 2D Manipulate Camera and animation methods to obtain perspective view

Sourcing data from real world

DEM – Digital Elevation Models Finite representation of an abstract modeled space. Represent a function of 2D space: temperature, pressure, etc. Exist in sampled points in space, other points obtained by interpolation.

DEM: Digital Elevation Model Contains only relative Height Regular interval Pixel color determine height Discrete resolution

TIN – Triangulated Irregular Network TIN is a triangular partitioning of space. Set of points P, edges V and triangles T is stored in a “quad-edge” data structure.

Tessellation in terrain modeling Tessellation is a cellular decomposition of the plane (space).

Non-Photo-Realistic Real-time 3D Terrain Rendering Uses DEM as input of the application Generates frame coherent animated view in real-time Uses texturing, shades, particles etc. for layer visualization

Real-time terrain rendering Uses a graphics Engine/Library Central focus on efficient mesh representation View coherence and frame rate constancy Limited/Variable Level of Detail Speed optimization Representing layer data as textures or particles

Converting Height field data into 3D topological mesh Pixel value (z) is used as Height Map Vertices are generated as points in 3D A Mesh is triangulated

Mesh Representation Goals: Speed Quality Constancy Representations: Progressive Meshes ROAM: Real-time Optimally Adapting Mesh

Progressive Meshes Developed by Hugues Hoppe, Microsoft Research Inc. Published first in SIGGRAPH 1996.

How PM works…

ROAM : Can Subdivide when more details necessary Merge & Split Queue Tree Structured

Photo Realistic 3D Terrain

Conclusions Computational geometry methods find a variety of applications in GIS and other areas: for underlying data structures, algorithm implementation, querying, visualization, statistical analysis and optimization.