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?

Chapter 2 robot kinematics
Chapter 2   robot kinematicsChapter 2   robot kinematics
Chapter 2 robot kinematics
nguyendattdh
 
Path Planning And Navigation
Path Planning And NavigationPath Planning And Navigation
Path Planning And Navigation
guest90654fd
 
Wireframe models
Wireframe modelsWireframe models
Wireframe models
Mohd Arif
 

Was ist angesagt? (20)

Parallel projection
Parallel projectionParallel projection
Parallel projection
 
Computer graphics(parametric cubic curves)
Computer graphics(parametric cubic curves)Computer graphics(parametric cubic curves)
Computer graphics(parametric cubic curves)
 
2D transformation (Computer Graphics)
2D transformation (Computer Graphics)2D transformation (Computer Graphics)
2D transformation (Computer Graphics)
 
Graphics standards
Graphics standardsGraphics standards
Graphics standards
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
 
Surfaces
SurfacesSurfaces
Surfaces
 
Introduction to the curves
Introduction to the curvesIntroduction to the curves
Introduction to the curves
 
Hermite cubic spline curve
Hermite cubic spline curveHermite cubic spline curve
Hermite cubic spline curve
 
Algorithm and pseudocode conventions
Algorithm and pseudocode conventionsAlgorithm and pseudocode conventions
Algorithm and pseudocode conventions
 
Chapter 2 robot kinematics
Chapter 2   robot kinematicsChapter 2   robot kinematics
Chapter 2 robot kinematics
 
Multi-armed Bandits
Multi-armed BanditsMulti-armed Bandits
Multi-armed Bandits
 
Halftoning in Computer Graphics
Halftoning  in Computer GraphicsHalftoning  in Computer Graphics
Halftoning in Computer Graphics
 
Bezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docxBezier Curve in Computer Graphics.docx
Bezier Curve in Computer Graphics.docx
 
All pair shortest path
All pair shortest pathAll pair shortest path
All pair shortest path
 
Path Planning And Navigation
Path Planning And NavigationPath Planning And Navigation
Path Planning And Navigation
 
Raster scan systems with video controller and display processor
Raster scan systems with video controller and display processorRaster scan systems with video controller and display processor
Raster scan systems with video controller and display processor
 
Dda algorithm
Dda algorithmDda algorithm
Dda algorithm
 
Bresenham's line algorithm
Bresenham's line algorithmBresenham's line algorithm
Bresenham's line algorithm
 
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
 
Wireframe models
Wireframe modelsWireframe models
Wireframe models
 

Ä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
 
Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)Computer graphics curves and surfaces (1)
Computer graphics curves and surfaces (1)
 
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
 

Kürzlich hochgeladen

SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
CaitlinCummins3
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
中 央社
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
MinawBelay
 

Kürzlich hochgeladen (20)

Word Stress rules esl .pptx
Word Stress rules esl               .pptxWord Stress rules esl               .pptx
Word Stress rules esl .pptx
 
SURVEY I created for uni project research
SURVEY I created for uni project researchSURVEY I created for uni project research
SURVEY I created for uni project research
 
An Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge AppAn Overview of the Odoo 17 Knowledge App
An Overview of the Odoo 17 Knowledge App
 
Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024Capitol Tech Univ Doctoral Presentation -May 2024
Capitol Tech Univ Doctoral Presentation -May 2024
 
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General QuizPragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
Pragya Champions Chalice 2024 Prelims & Finals Q/A set, General Quiz
 
philosophy and it's principles based on the life
philosophy and it's principles based on the lifephilosophy and it's principles based on the life
philosophy and it's principles based on the life
 
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community PartnershipsSpring gala 2024 photo slideshow - Celebrating School-Community Partnerships
Spring gala 2024 photo slideshow - Celebrating School-Community Partnerships
 
Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17Features of Video Calls in the Discuss Module in Odoo 17
Features of Video Calls in the Discuss Module in Odoo 17
 
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptxREPRODUCTIVE TOXICITY  STUDIE OF MALE AND FEMALEpptx
REPRODUCTIVE TOXICITY STUDIE OF MALE AND FEMALEpptx
 
Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).Dementia (Alzheimer & vasular dementia).
Dementia (Alzheimer & vasular dementia).
 
ANTI PARKISON DRUGS.pptx
ANTI         PARKISON          DRUGS.pptxANTI         PARKISON          DRUGS.pptx
ANTI PARKISON DRUGS.pptx
 
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽會考英聽
 
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjjStl Algorithms in C++ jjjjjjjjjjjjjjjjjj
Stl Algorithms in C++ jjjjjjjjjjjjjjjjjj
 
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
Operations Management - Book1.p  - Dr. Abdulfatah A. SalemOperations Management - Book1.p  - Dr. Abdulfatah A. Salem
Operations Management - Book1.p - Dr. Abdulfatah A. Salem
 
How to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 InventoryHow to Manage Closest Location in Odoo 17 Inventory
How to Manage Closest Location in Odoo 17 Inventory
 
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdfFinancial Accounting IFRS, 3rd Edition-dikompresi.pdf
Financial Accounting IFRS, 3rd Edition-dikompresi.pdf
 
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
Incoming and Outgoing Shipments in 2 STEPS Using Odoo 17
 
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
Basic Civil Engineering notes on Transportation Engineering, Modes of Transpo...
 
The Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. HenryThe Last Leaf, a short story by O. Henry
The Last Leaf, a short story by O. Henry
 
demyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptxdemyelinated disorder: multiple sclerosis.pptx
demyelinated disorder: multiple sclerosis.pptx
 

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.