hvs-ait / fill_polygon

Fill the inner area bounded by a polygon, including self-intersecting one.

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Fill Polygon

Fill the inner area bounded by a polygon, including a self-intersecting one.

This algorithm solves the problem of filling the inner area bounded by a self-intersecting polygon, a scenario where the OpenCV's function fillPoly() fails. This implementation can fill a polygon that overlaps itself multiple times.

example

Please feel free to suggest any improvements or add any comments you might have.

Copyright

AIT Austrian Institute of Technology GmbH https://www.ait.ac.at/

About

Fill the inner area bounded by a polygon, including self-intersecting one.

License:GNU General Public License v3.0


Languages

Language:Python 100.0%