Metadata-Version: 2.1
Name: GridMapDecompose
Version: 0.0.3
Summary: Simple pacakge for grid map decomposition
Home-page: UNKNOWN
Author: Tomasz Kucner
Author-email: tomasz.kucner@oru.se
License: UNKNOWN
Project-URL: Source, https://github.com/tkucner/GridMapDecompose
Project-URL: Author, https://mro.oru.se/people/tomasz-kucner/
Project-URL: Tracker, https://github.com/tkucner/GridMapDecompose/issues
Platform: UNKNOWN
Classifier: Programming Language :: Python :: 3
Classifier: License :: OSI Approved :: GNU General Public License v3 (GPLv3)
Classifier: Operating System :: OS Independent
Description-Content-Type: text/markdown
Requires-Dist: numpy (>=1.16.4)
Requires-Dist: scipy (>=1.2.1)
Requires-Dist: scikit-image (>=0.15.0)

# GridMapDecompose
Simple code used for decomposing occupancy grid map into set of corners and walls. The idea is to utilize the pattern in a structured environment, which is a combination of straight walls and corners. 

The code outputs a labeled map with corresponding minimal bounding boxes for each element in the environment. There are three types of labels:

* wall
* corner
* clustered corner

 ![Example of labeling](https://github.com/tkucner/GridMapDecompose/blob/master/example.png)

## Installation 

```bash
pip install -i https://test.pypi.org/simple/GridMapDecompose
```
## Usage

An example of usage van be found in map_segmentation_test.py:
```bash
python3 map_segmentation_test.py map.png regular
```

