Home > map_generate

map_generate

Map_generate is a project mainly written in Python, it's free.

tool for generating vectorized xml obstacle environment from a bitmap floorplan

This package installs a script that provides methods to extract line segments from an image and also to write such segments as walls in a simpedia-readable xml format

This script takes an image, performs edge detection followed by a Probabilistic Hough Transform to find straight lines. It then creates a simpedia element that contains each of these lines as a wall.

The transform params were cribed without thought from http://scikits-image.org/docs/0.3/auto_examples/plot_hough_transform.html (hence there is plenty of room for improvement)

Additional functionality: there are now options for applying line-thinning to correct the thickness of walls.

@author: [email protected] 11/24/2011

Previous:M0RJCTracker