Skip to content

Perform a visibility graph analysis quickly and easily. Visibility calculation done in C.

Notifications You must be signed in to change notification settings

Gabriel-Kahen/EasyVGA

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

72 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Visiblity Graph Analysis Overview

This code performs a simple visiblity graph analysis. The further to the right on the colormap below, the more visible the point.

jetcolormap

Examples

Four-way intersection

  • Input: test_imgs/four_in.png
  • Output: test_imgs/four_out.png
Input Image Output Image

Rectangles

  • Input: test_imgs/rectangles_in.png
  • Output: test_imgs/rectangles_out.png
Input Image Output Image

Floor Plan

  • Input: test_imgs/floorplan_in.png
  • Output: test_imgs/floorplan_out.png
Input Image Output Image

Streets (using coordinates)

  • Coordinate Input: 40.7611, -73.6533 | 40.7490, -73.6773 | (shown in test_imgs/streets_in.png)
  • Output: test_imgs/streets_out.png
Input Output Image

Usage

To use the code, simply run run.py. I recommend Open Street Map for finding coordinates, but you can use whatever you prefer.