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.
Please feel free to suggest any improvements or add any comments you might have.
AIT Austrian Institute of Technology GmbH https://www.ait.ac.at/