1 What is Computational Geometry Ref: Godfried T. Toussaint.

Slides:



Advertisements
Similar presentations
Program Efficiency & Complexity Analysis
Advertisements

1 Programming Interest Group Tutorial Eight Computational Geometry.
 Distance Problems: › Post Office Problem › Nearest Neighbors and Closest Pair › Largest Empty and Smallest Enclosing Circle  Sub graphs of Delaunay.
1 The TSP : Approximation and Hardness of Approximation All exact science is dominated by the idea of approximation. -- Bertrand Russell ( )
Computing Convex Hulls CLRS 33.3
CS16: Introduction to Data Structures & Algorithms
C o m p u t i n g C O N V E X H U L L S by Kok Lim Low 10 Nov 1998 COMP Presentation.
S. J. Shyu Chap. 1 Introduction 1 The Design and Analysis of Algorithms Chapter 1 Introduction S. J. Shyu.
Convex Hulls in Two Dimensions Definitions Basic algorithms Gift Wrapping (algorithm of Jarvis ) Graham scan Divide and conquer Convex Hull for line intersections.
Classes of Polygons Planar polygons Non-planar polygons Simple
A Recursive Algorithm for Calculating the Relative Convex Hull Gisela Klette AUT University Computing & Mathematical Sciences Auckland, New Zealand.
1 Convex Hull in Two Dimensions Jyun-Ming Chen Refs: deBerg et al. (Chap. 1) O’Rourke (Chap. 3)
5/17/2015 1:32 AMConvex Hull1 obstacle start end.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 Professor Dr.Thomas Ottmann Albert Ludwigs University Freiburg Computational Geometry.
Computational Geometry The art of finding algorithms for solving geometrical problems Literature: –M. De Berg et al: Computational Geometry, Springer,
1 Processing & Analysis of Geometric Shapes Shortest path problems Shortest path problems The discrete way © Alexander & Michael Bronstein, ©
Computational Geometry The art of finding algorithms for solving geometrical problems Literature: –M. De Berg et al: Computational Geometry, Springer,
Numerical geometry of non-rigid shapes
1 -1 Chapter 1 Introduction Why Do We Need to Study Algorithms? To learn strategies to design efficient algorithms. To understand the difficulty.
Area 1: Algorithms Dan Halperin, School of Computer Science, Tel Aviv University.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 History: Proof-based, algorithmic, axiomatic geometry, computational geometry today.
SPIE Vision Geometry - July '99 Even faster point set pattern matching in 3-d Niagara University and SUNY - Buffalo Laurence Boxer Research.
Randomized Planning for Short Inspection Paths Tim Danner Lydia E. Kavraki Department of Computer Science Rice University.
Chapter 3: The Efficiency of Algorithms Invitation to Computer Science, C++ Version, Fourth Edition.
1 Numerical geometry of non-rigid shapes A journey to non-rigid world objects Numerical methods non-rigid Alexander Bronstein Michael Bronstein Numerical.
Chapter 3: The Efficiency of Algorithms
Homework page 102 questions 1, 4, and 10 page 106 questions 4 and 5 page 111 question 1 page 119 question 9.
1 University of Denver Department of Mathematics Department of Computer Science.
1 Numerical geometry of non-rigid shapes Non-Euclidean Embedding Non-Euclidean Embedding Lecture 6 © Alexander & Michael Bronstein tosca.cs.technion.ac.il/book.
Introduction Outline The Problem Domain Network Design Spanning Trees Steiner Trees Triangulation Technique Spanners Spanners Application Simple Greedy.
Lection 1: Introduction Computational Geometry Prof.Dr.Th.Ottmann 1 History: Proof-based, algorithmic, axiomatic geometry, computational geometry today.
Geometric Probing with Light Beacons on Multiple Mobile Robots Sarah Bergbreiter CS287 Project Presentation May 1, 2002.
2.5Formulas and Additional Applications from Geometry
Computational Geometry
CSE53111 Computational Geometry TOPICS q Preliminaries q Point in a Polygon q Polygon Construction q Convex Hulls Further Reading.
Manifold learning: Locally Linear Embedding Jieping Ye Department of Computer Science and Engineering Arizona State University
Computational Geometry Convex Hulls Robust Geometric Primitives Degeneracy and Stability Nick Pilkington.
Kansas State University Department of Computing and Information Sciences CIS 736: Computer Graphics Monday, 26 January 2004 William H. Hsu Department of.
Visibility Graphs and Motion Planning Kittiphan Techakittiroj for the Degree of Master of Science Department of Computer Science, Ball State University,
ADA: 14. Intro to CG1 Objective o give a non-technical overview of Computational geometry, concentrating on its main application areas Algorithm.
Computational Complexity Polynomial time O(n k ) input size n, k constant Tractable problems solvable in polynomial time(Opposite Intractable) Ex: sorting,
1 Energy-aware stage illumination. Written by: Friedrich Eisenbrand Stefan Funke Andreas Karrenbauer Domagoj Matijevic Presented By: Yossi Maimon.
Introduction to Computational Geometry Hackson
How to reform a terrain into a pyramid Takeshi Tokuyama (Tohoku U) Joint work with Jinhee Chun (Tohoku U) Naoki Katoh (Kyoto U) Danny Chen (U. Notre Dame)
Approximation algorithms for TSP with neighborhoods in the plane R 郭秉鈞 R 林傳健.
Computer Vision Lab. SNU Young Ki Baik Nonlinear Dimensionality Reduction Approach (ISOMAP, LLE)
Introduction to Problem Solving. Steps in Programming A Very Simplified Picture –Problem Definition & Analysis – High Level Strategy for a solution –Arriving.
Chapter 2 Section 5. Objectives 1 Copyright © 2012, 2008, 2004 Pearson Education, Inc. Formulas and Additional Applications from Geometry Solve a formula.
112/5/ :54 Graphics II Image Based Rendering Session 11.
Computational Geometry Polygon Triangulation and The Art Gallery Problem Joachim Gudmundsson NICTA, Sydney.
Institute of Information Science Academia Sinica 1 1 Introduction to Geomtric Computing D. T. Lee Institute of Information Science Academia Sinica October.
Geodesic Fréchet Distance Inside a Simple Polygon Atlas F. Cook IV & Carola Wenk Proceedings of the 25th International Symposium on Theoretical Aspects.
1 11. Polygons Polygons 2D polygons ( 다각형 ) –Polygon sides are all straight lines lying in the same plane 3D polyhedra ( 다면체 )  chap. 12 –Polyhedra.
Liz Balsam Advisor: Bahman Kalantari.  Term coined by Dr. Kalantari  Polynomial + graph  Definition: the art and science of visualization in the approximation.
UMass Lowell Computer Science Analysis of Algorithms Prof. Karen Daniels Fall, 2001 Review Lecture Tuesday, 12/11/01.
COMPUTATIONAL GEOMETRY INTRODUCTION AND CONVEX HULLS ZAHRA NILFOROUSHAN ELECTRICAL & COMPUTER ENGINEERING DEPARTMENT, FACULTY OF ENGINEERING, KHARAZMI.
Honors Track: Competitive Programming & Problem Solving Seminar Topics Kevin Verbeek.
Computation of the solutions of nonlinear polynomial systems
Estimation of 3D Bounding Box for Image Object
Grids Geometry Computational Geometry
Point-a location on a plane.
Convex Hull obstacle start end 11/21/2018 4:05 AM Convex Hull
Chapter 3: The Efficiency of Algorithms
Feodor F. Dragan 1990 Ph.D. in Theoretical Computer Science Institute of Mathematics of the Byelorussian Academy of Science, Minsk Moldova State University.
3. Brute Force Selection sort Brute-Force string matching
3. Brute Force Selection sort Brute-Force string matching
Convex Hull obstacle start end 4/30/2019 5:21 PM Convex Hull
Chapter 4 . Trajectory planning and Inverse kinematics
Computational Geometry
3. Brute Force Selection sort Brute-Force string matching
Presentation transcript:

1 What is Computational Geometry Ref: Godfried T. Toussaint

2 The Problem Given a line (y=ax+b) and a point p (x p,y p ), determine whether the point is above/below the line Solution 1: –Set x z = x p –Compute y z –Compare y z and y p

3 Alternate Solutions Signed area: –Negative if CW –Positive if CCW How do you compare these two algorithms in terms of: –Robustness? –Efficiency? Origin of this formula Consider special cases …

4 Possible Definitions of CGeom The science concerned with computing geometric properties of sets of geometric objects in space The design and analysis of algorithms for solving geometric problems The study of the inherent computational complexity of geometric problems under varying models of computation Runs faster, requires less memory space and more robust wrt numerical errors

5 Modern Computational Geometry Ph.D. thesis of M. Shamos (Yale, 1978) Has been around for more than 2600 years starting with the Greeks Difference: –The size of input to an algorithm (n) (Today) Hundreds, thousands, or millions –The dimension of a problem (d) (Greek) Euclidean two and three space (Today) not limited to the exploration of low dimensional problems; non-Euclidean, higher dimension

6 The Complexity of Algorithm Ex: Convex Hull (naïve algorithm) C(n): the total number of primitive operation required

7 Big O, Big Omega Big O: –A simplified expression with only the dominant terms, dropping the coefficient –The contribution that Shamos made was the emphasis on including with each algorithm a complexity analysis in terms of “Big O” notation and the introduction of lower bounds on the complexity of geometric problems Big Omega  : –Lower bound on the time complexity of the problem –A statement about the problem (not the algorithm) –Optimal: when complexity function of the algorithm matches the complexity function of the problem

8 The Domain of CG Geometric Probing Art Gallery Theorems and Algorithms Computer Graphics Geometric Modeling Computer Vision Robotics Dynamic CG Parallel CG Isothetic CG Numerical CG Geodesic CG See also: Eppstein’s Geometry in Action

9 Ex: Minimax Facility Location Problem Determine location X where a facility should be located so as to minimize the distance from X to its furthest customer Find the smallest circle that encloses a given set of n points [reference]reference

10 Ex: Geometric Probing Implement a QC procedure to determine circularity of rings For smooth convex shape, the verification of D in sufficient directions should work Apply 3 probes, 60 degrees apart Does this work? [Challenger anecdote]

11 Geometric Probing (cont) Reuleaux triangle (construction) Known as constant diameter shape Smooth rolling, yet highly non-circular Demonstrates that any number of such probes is insufficient to determine circularity Verify the distance between any parallel lines is D

12 Theory of Geometric Probing The determination of the number of probes that are necessary and sufficient to determine an object completely The design of efficient algorithms for actually carrying out the probing strategies Computer vision, pattern recognition, QC, robotics References: –Steven Skiena: Problems in Geometric Probing. Algorithmica 4(4): (1989)Algorithmica 4 –Skiena: Interactive Reconstruction via Geometric Probing (1992)Interactive Reconstruction via Geometric Probing

13 Ex:Art Gallery Problem 1973 Victor Klee poses the problem Given n arbitrarily shaped gallery, what is the minimum number of cameras required to guard the interior of an n-wall gallery? 1975, Vasek Chvatal’s theorem: n/3 are always sufficient and sometimes necessary.

14 Observation

15 Computer Graphics Hidden line problem; hidden surface removal; visibility problem

16 Isothetic Computational Geometry Also rectilinear computational geometry Often greatly simplifies the algorithm Image processing, VLSI design

17 Geodesic Euclidean distance between two points no longer a useful measure Geodesic distance: the length of the shortest path between the two points that avoids obstacles Geodesic convex hull (also relative convex hull): Given a set S of n points inside a simple polygon P of n vertices, the relative convex hull of X (relative to P) is the minimum perimeter circuit that lies in p and encloses S.

18 Homework Verify that the signed area of triangle is correct. Verify that for Reuleaux triangles, the distance between any pair parallel lines is constant.

19

20 p q r