SlideShare a Scribd company logo
1 of 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

More Related Content

What's hot

Presentation on bezier curve
Presentation on bezier curvePresentation on bezier curve
Presentation on bezier curveSatyendra Rajput
 
object recognition for robots
object recognition for robotsobject recognition for robots
object recognition for robotss1240148
 
Bezeir curve na B spline Curve
Bezeir curve na B spline CurveBezeir curve na B spline Curve
Bezeir curve na B spline CurvePooja Dixit
 
Image Classification And Support Vector Machine
Image Classification And Support Vector MachineImage Classification And Support Vector Machine
Image Classification And Support Vector MachineShao-Chuan Wang
 
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithmPolygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithmMani Kanth
 
Graphics software and standards
Graphics software and standardsGraphics software and standards
Graphics software and standardsMani Kanth
 
Svm and kernel machines
Svm and kernel machinesSvm and kernel machines
Svm and kernel machinesNawal Sharma
 
Advanced sliding mode control for mechanical systems
Advanced sliding mode control for mechanical systemsAdvanced sliding mode control for mechanical systems
Advanced sliding mode control for mechanical systemsAlejandro Todoroff
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer GraphicsSanu Philip
 
Human Pose Estimation by Deep Learning
Human Pose Estimation by Deep LearningHuman Pose Estimation by Deep Learning
Human Pose Estimation by Deep LearningWei Yang
 

What's hot (20)

Shape Features
 Shape Features  Shape Features
Shape Features
 
Presentation on bezier curve
Presentation on bezier curvePresentation on bezier curve
Presentation on bezier curve
 
object recognition for robots
object recognition for robotsobject recognition for robots
object recognition for robots
 
Anti aliasing
Anti aliasingAnti aliasing
Anti aliasing
 
Bezeir curve na B spline Curve
Bezeir curve na B spline CurveBezeir curve na B spline Curve
Bezeir curve na B spline Curve
 
Bezier Curve
Bezier Curve Bezier Curve
Bezier Curve
 
Perceptron & Neural Networks
Perceptron & Neural NetworksPerceptron & Neural Networks
Perceptron & Neural Networks
 
Markov Random Field (MRF)
Markov Random Field (MRF)Markov Random Field (MRF)
Markov Random Field (MRF)
 
Image Classification And Support Vector Machine
Image Classification And Support Vector MachineImage Classification And Support Vector Machine
Image Classification And Support Vector Machine
 
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithmPolygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
Polygon clipping with sutherland hodgeman algorithm and scan line fill algorithm
 
Graphics a buffer
Graphics a bufferGraphics a buffer
Graphics a buffer
 
Windows and viewport
Windows and viewportWindows and viewport
Windows and viewport
 
UNIT III (8).pptx
UNIT III (8).pptxUNIT III (8).pptx
UNIT III (8).pptx
 
Object Recognition
Object RecognitionObject Recognition
Object Recognition
 
Graphics software and standards
Graphics software and standardsGraphics software and standards
Graphics software and standards
 
Svm and kernel machines
Svm and kernel machinesSvm and kernel machines
Svm and kernel machines
 
Advanced sliding mode control for mechanical systems
Advanced sliding mode control for mechanical systemsAdvanced sliding mode control for mechanical systems
Advanced sliding mode control for mechanical systems
 
Projection In Computer Graphics
Projection In Computer GraphicsProjection In Computer Graphics
Projection In Computer Graphics
 
Human Pose Estimation by Deep Learning
Human Pose Estimation by Deep LearningHuman Pose Estimation by Deep Learning
Human Pose Estimation by Deep Learning
 
Bezier curve computer graphics
Bezier curve computer graphics Bezier curve computer graphics
Bezier curve computer graphics
 

Similar to Visibility graphs

Similar to 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
 
Vanmathy no sql
Vanmathy no sql Vanmathy no sql
Vanmathy no sql
 
VANU no sql ppt.pptx
VANU no sql ppt.pptxVANU no sql ppt.pptx
VANU no sql ppt.pptx
 
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
 

Recently uploaded

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxmanuelaromero2013
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxGaneshChakor2
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityGeoBlogs
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...Marc Dusseiller Dusjagr
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsKarinaGenton
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationnomboosow
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Educationpboyjonauth
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfsanyamsingh5019
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Krashi Coaching
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesFatimaKhan178732
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxiammrhaywood
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️9953056974 Low Rate Call Girls In Saket, Delhi NCR
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppCeline George
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting DataJhengPantaleon
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17Celine George
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)eniolaolutunde
 

Recently uploaded (20)

How to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptxHow to Make a Pirate ship Primary Education.pptx
How to Make a Pirate ship Primary Education.pptx
 
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Bikash Puri  Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Bikash Puri Delhi reach out to us at 🔝9953056974🔝
 
CARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptxCARE OF CHILD IN INCUBATOR..........pptx
CARE OF CHILD IN INCUBATOR..........pptx
 
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
Model Call Girl in Tilak Nagar Delhi reach out to us at 🔝9953056974🔝
 
Paris 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activityParis 2024 Olympic Geographies - an activity
Paris 2024 Olympic Geographies - an activity
 
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
“Oh GOSH! Reflecting on Hackteria's Collaborative Practices in a Global Do-It...
 
Science 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its CharacteristicsScience 7 - LAND and SEA BREEZE and its Characteristics
Science 7 - LAND and SEA BREEZE and its Characteristics
 
Interactive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communicationInteractive Powerpoint_How to Master effective communication
Interactive Powerpoint_How to Master effective communication
 
Introduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher EducationIntroduction to ArtificiaI Intelligence in Higher Education
Introduction to ArtificiaI Intelligence in Higher Education
 
Sanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdfSanyam Choudhary Chemistry practical.pdf
Sanyam Choudhary Chemistry practical.pdf
 
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
Kisan Call Centre - To harness potential of ICT in Agriculture by answer farm...
 
Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1Código Creativo y Arte de Software | Unidad 1
Código Creativo y Arte de Software | Unidad 1
 
Separation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and ActinidesSeparation of Lanthanides/ Lanthanides and Actinides
Separation of Lanthanides/ Lanthanides and Actinides
 
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptxSOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
SOCIAL AND HISTORICAL CONTEXT - LFTVD.pptx
 
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
call girls in Kamla Market (DELHI) 🔝 >༒9953330565🔝 genuine Escort Service 🔝✔️✔️
 
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdfTataKelola dan KamSiber Kecerdasan Buatan v022.pdf
TataKelola dan KamSiber Kecerdasan Buatan v022.pdf
 
URLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website AppURLs and Routing in the Odoo 17 Website App
URLs and Routing in the Odoo 17 Website App
 
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data_Math 4-Q4 Week 5.pptx Steps in Collecting Data
_Math 4-Q4 Week 5.pptx Steps in Collecting Data
 
How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17How to Configure Email Server in Odoo 17
How to Configure Email Server in Odoo 17
 
Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)Software Engineering Methodologies (overview)
Software Engineering Methodologies (overview)
 

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.