SlideShare ist ein Scribd-Unternehmen logo
1 von 16
VISIBILITY GRAPHS
Gaurav Gupta (11907272)
Advanced Topics in Robotics (ME769A)
IIT Kanpur
Visibility Graphs : Introduction
• Visibility graph is a graph of
intervisible locations, typically for a
set of points and obstacles in the
Euclidean plane.
• Each node in the graph represents
a point location, and each edge
represents a visible connection
between them
• That is, if the line segment
connecting two locations does not
pass through any obstacle, an edge
is drawn between them in the
graph
Visibility: We say that two points p and q are mutually visible if the open line
segment joining them does not intersect the interior of any obstacle. By this
definition, the two endpoints of an obstacle edge are not mutually visible, so we will
explicitly allow for this case.
Why Visibility Graphs?
Problem - We are given a set of n disjoint polygonal obstacles in the plane,
and two points s and t that lie outside of the obstacles. The problem is to
determine the shortest path from s to t that avoids the interiors of the
obstacles.
Claim - The shortest path between any two points that avoids a set of
polygonal obstacles is a polygonal curve, whose vertices are either vertices of
the obstacles or the points s and t.
Why Visibility Graphs?
Proof by contradiction
The shortest distance between any
two points in Cartesian plane is a
straight line .
Suppose that it contained a vertex v
that was not an obstacle vertex.
Again we consider a small
neighbourhood about v that contains
no part of any obstacle. We can
shorten the path, as above, implying
that P is not a shortest path
Visibility Graph Construction
• To construct the visibility graph we must determine which vertices are visible from
a vertex v , for every v.
• Naïve algorithm*:
Input – a set of vertices ni , whose edges do not intersect (N in number)
1. Join the given vertex ng to all other vertices nj . (total of N-1)
2. Check if the line segment ngnj intersects the given edges(total of N )
3. Repeat the procedure for every vertex (total of N)
Altogether the algorithm is O(n3)
• Rotational Plane Sweep Algorithm : O(n2log(n))
Visibility Graph: Some Examples
Visibility Graph: Some Examples
Visibility Graph: Some Examples
Visibility Graph: Some Examples
Reduced Visibility Graph
• The standard visibility graph has many
needless edges which are not going to
be used in any case.
• These are the ones that are going
towards to the obstacles
• The lines that are useful for path
planning are the ones going around
the obstacles, or passing through the
vertices that are extremes around the
obstacles.
• The lines that are passing through two
extreme points are
called supporting and separating lines.
Supporting and Separating lines
Reduced Visibility Graph: Some Examples
Reduced Visibility Graph: Some Examples
Reduced Visibility Graph: Some
Examples
Reduced Visibility Graph: Some
Examples
References
1. https://en.wikipedia.org/wiki/Visibility_graph
2. http://cs.smith.edu/~streinu/Teaching/Courses/274/Spring98/Projects/Philip/fp/vi
sibility.htm
3. http://www.cs.wustl.edu/~pless/546/lectures/l22.html
4. Choset, Howie M. Principles of robot motion: theory, algorithms, and
implementation. MIT press, 2005.
THANK YOU

Weitere ähnliche Inhalte

Was ist angesagt?

Robotics: Introduction to Kinematics
Robotics: Introduction to KinematicsRobotics: Introduction to Kinematics
Robotics: Introduction to Kinematics
Damian T. Gordon
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
KABILESH RAMAR
 
Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)
manojg1990
 
Wireframe models
Wireframe modelsWireframe models
Wireframe models
Mohd Arif
 

Was ist angesagt? (20)

B-spline
B-spline B-spline
B-spline
 
Lecture 1 trajectory generation
Lecture 1 trajectory generation Lecture 1 trajectory generation
Lecture 1 trajectory generation
 
Robotics: Introduction to Kinematics
Robotics: Introduction to KinematicsRobotics: Introduction to Kinematics
Robotics: Introduction to Kinematics
 
Bezier and Spline Curves and Surfaces
Bezier and Spline Curves and SurfacesBezier and Spline Curves and Surfaces
Bezier and Spline Curves and Surfaces
 
Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
 
Liang barsky Line Clipping Algorithm
Liang barsky Line Clipping AlgorithmLiang barsky Line Clipping Algorithm
Liang barsky Line Clipping Algorithm
 
Raster scan and random scan
Raster scan and random scanRaster scan and random scan
Raster scan and random scan
 
Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)Geometric modeling111431635 geometric-modeling-glad (1)
Geometric modeling111431635 geometric-modeling-glad (1)
 
Wireframe models
Wireframe modelsWireframe models
Wireframe models
 
Object tracking
Object trackingObject tracking
Object tracking
 
Computer graphics(parametric cubic curves)
Computer graphics(parametric cubic curves)Computer graphics(parametric cubic curves)
Computer graphics(parametric cubic curves)
 
Camera model ‫‬
Camera model ‫‬Camera model ‫‬
Camera model ‫‬
 
191483523 geometric-modeling
191483523 geometric-modeling191483523 geometric-modeling
191483523 geometric-modeling
 
Hidden surface removal
Hidden surface removalHidden surface removal
Hidden surface removal
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
 
Autocad Commands
Autocad CommandsAutocad Commands
Autocad Commands
 
Solid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representationSolid modeling-Sweep Representation and B-representation
Solid modeling-Sweep Representation and B-representation
 
CAD / CAM NURBS
CAD / CAM NURBSCAD / CAM NURBS
CAD / CAM NURBS
 
Hidden line removal algorithm
Hidden line removal algorithmHidden line removal algorithm
Hidden line removal algorithm
 
Curves wire frame modelling
Curves wire frame modellingCurves wire frame modelling
Curves wire frame modelling
 

Ähnlich wie Visibility graphs

Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjteUnit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
pournima055
 
Lecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsLecture 14 data structures and algorithms
Lecture 14 data structures and algorithms
Aakash deep Singhal
 

Ähnlich wie Visibility graphs (20)

Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjteUnit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
Unit II_Graph.pptxkgjrekjgiojtoiejhgnltegjte
 
Unit 9 graph
Unit   9 graphUnit   9 graph
Unit 9 graph
 
Unit ix graph
Unit   ix    graph Unit   ix    graph
Unit ix graph
 
09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf09_DS_MCA_Graphs.pdf
09_DS_MCA_Graphs.pdf
 
Unit V - ppt.pptx
Unit V - ppt.pptxUnit V - ppt.pptx
Unit V - ppt.pptx
 
UNIT III.pptx
UNIT III.pptxUNIT III.pptx
UNIT III.pptx
 
14 chapter9 graph_algorithmstopologicalsort_shortestpath
14 chapter9 graph_algorithmstopologicalsort_shortestpath14 chapter9 graph_algorithmstopologicalsort_shortestpath
14 chapter9 graph_algorithmstopologicalsort_shortestpath
 
curve one
curve onecurve one
curve one
 
VANU no sql ppt.pptx
VANU no sql ppt.pptxVANU no sql ppt.pptx
VANU no sql ppt.pptx
 
Vanmathy no sql
Vanmathy no sql Vanmathy no sql
Vanmathy no sql
 
Graph_data_structure_information_engineering.pptx
Graph_data_structure_information_engineering.pptxGraph_data_structure_information_engineering.pptx
Graph_data_structure_information_engineering.pptx
 
TRAVERSE in land surveying and technique
TRAVERSE in land surveying and techniqueTRAVERSE in land surveying and technique
TRAVERSE in land surveying and technique
 
Graph theory
Graph theoryGraph theory
Graph theory
 
Connected components and shortest path
Connected components and shortest pathConnected components and shortest path
Connected components and shortest path
 
visual realism Unit iii
 visual realism Unit iii visual realism Unit iii
visual realism Unit iii
 
Lecture 14 data structures and algorithms
Lecture 14 data structures and algorithmsLecture 14 data structures and algorithms
Lecture 14 data structures and algorithms
 
Unit 3 visual realism
Unit 3 visual realismUnit 3 visual realism
Unit 3 visual realism
 
Graph 1
Graph 1Graph 1
Graph 1
 
Graphs.pptx
Graphs.pptxGraphs.pptx
Graphs.pptx
 
6. Graphs
6. Graphs6. Graphs
6. Graphs
 

Kürzlich hochgeladen

Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
ssuserdda66b
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
ciinovamais
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
ZurliaSoop
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
QucHHunhnh
 

Kürzlich hochgeladen (20)

On National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan FellowsOn National Teacher Day, meet the 2024-25 Kenan Fellows
On National Teacher Day, meet the 2024-25 Kenan Fellows
 
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdfVishram Singh - Textbook of Anatomy  Upper Limb and Thorax.. Volume 1 (1).pdf
Vishram Singh - Textbook of Anatomy Upper Limb and Thorax.. Volume 1 (1).pdf
 
Activity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdfActivity 01 - Artificial Culture (1).pdf
Activity 01 - Artificial Culture (1).pdf
 
Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024Mehran University Newsletter Vol-X, Issue-I, 2024
Mehran University Newsletter Vol-X, Issue-I, 2024
 
Unit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptxUnit-IV; Professional Sales Representative (PSR).pptx
Unit-IV; Professional Sales Representative (PSR).pptx
 
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
Explore beautiful and ugly buildings. Mathematics helps us create beautiful d...
 
Google Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptxGoogle Gemini An AI Revolution in Education.pptx
Google Gemini An AI Revolution in Education.pptx
 
Key note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdfKey note speaker Neum_Admir Softic_ENG.pdf
Key note speaker Neum_Admir Softic_ENG.pdf
 
Introduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The BasicsIntroduction to Nonprofit Accounting: The Basics
Introduction to Nonprofit Accounting: The Basics
 
SOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning PresentationSOC 101 Demonstration of Learning Presentation
SOC 101 Demonstration of Learning Presentation
 
Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...Making communications land - Are they received and understood as intended? we...
Making communications land - Are they received and understood as intended? we...
 
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
Jual Obat Aborsi Hongkong ( Asli No.1 ) 085657271886 Obat Penggugur Kandungan...
 
Dyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptxDyslexia AI Workshop for Slideshare.pptx
Dyslexia AI Workshop for Slideshare.pptx
 
Food safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdfFood safety_Challenges food safety laboratories_.pdf
Food safety_Challenges food safety laboratories_.pdf
 
Unit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptxUnit-V; Pricing (Pharma Marketing Management).pptx
Unit-V; Pricing (Pharma Marketing Management).pptx
 
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
2024-NATIONAL-LEARNING-CAMP-AND-OTHER.pptx
 
How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17How to Give a Domain for a Field in Odoo 17
How to Give a Domain for a Field in Odoo 17
 
1029-Danh muc Sach Giao Khoa khoi 6.pdf
1029-Danh muc Sach Giao Khoa khoi  6.pdf1029-Danh muc Sach Giao Khoa khoi  6.pdf
1029-Danh muc Sach Giao Khoa khoi 6.pdf
 
FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024FSB Advising Checklist - Orientation 2024
FSB Advising Checklist - Orientation 2024
 
Understanding Accommodations and Modifications
Understanding  Accommodations and ModificationsUnderstanding  Accommodations and Modifications
Understanding Accommodations and Modifications
 

Visibility graphs

  • 1. VISIBILITY GRAPHS Gaurav Gupta (11907272) Advanced Topics in Robotics (ME769A) IIT Kanpur
  • 2. Visibility Graphs : Introduction • Visibility graph is a graph of intervisible locations, typically for a set of points and obstacles in the Euclidean plane. • Each node in the graph represents a point location, and each edge represents a visible connection between them • That is, if the line segment connecting two locations does not pass through any obstacle, an edge is drawn between them in the graph Visibility: We say that two points p and q are mutually visible if the open line segment joining them does not intersect the interior of any obstacle. By this definition, the two endpoints of an obstacle edge are not mutually visible, so we will explicitly allow for this case.
  • 3. Why Visibility Graphs? Problem - We are given a set of n disjoint polygonal obstacles in the plane, and two points s and t that lie outside of the obstacles. The problem is to determine the shortest path from s to t that avoids the interiors of the obstacles. Claim - The shortest path between any two points that avoids a set of polygonal obstacles is a polygonal curve, whose vertices are either vertices of the obstacles or the points s and t.
  • 4. Why Visibility Graphs? Proof by contradiction The shortest distance between any two points in Cartesian plane is a straight line . Suppose that it contained a vertex v that was not an obstacle vertex. Again we consider a small neighbourhood about v that contains no part of any obstacle. We can shorten the path, as above, implying that P is not a shortest path
  • 5. Visibility Graph Construction • To construct the visibility graph we must determine which vertices are visible from a vertex v , for every v. • Naïve algorithm*: Input – a set of vertices ni , whose edges do not intersect (N in number) 1. Join the given vertex ng to all other vertices nj . (total of N-1) 2. Check if the line segment ngnj intersects the given edges(total of N ) 3. Repeat the procedure for every vertex (total of N) Altogether the algorithm is O(n3) • Rotational Plane Sweep Algorithm : O(n2log(n))
  • 10. Reduced Visibility Graph • The standard visibility graph has many needless edges which are not going to be used in any case. • These are the ones that are going towards to the obstacles • The lines that are useful for path planning are the ones going around the obstacles, or passing through the vertices that are extremes around the obstacles. • The lines that are passing through two extreme points are called supporting and separating lines. Supporting and Separating lines
  • 11. Reduced Visibility Graph: Some Examples
  • 12. Reduced Visibility Graph: Some Examples
  • 13. Reduced Visibility Graph: Some Examples
  • 14. Reduced Visibility Graph: Some Examples
  • 15. References 1. https://en.wikipedia.org/wiki/Visibility_graph 2. http://cs.smith.edu/~streinu/Teaching/Courses/274/Spring98/Projects/Philip/fp/vi sibility.htm 3. http://www.cs.wustl.edu/~pless/546/lectures/l22.html 4. Choset, Howie M. Principles of robot motion: theory, algorithms, and implementation. MIT press, 2005.