You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The polygon annotation widget nbs/01d_polygon_canvas.ipynb#5 (not yet included in the public github release) supports only sequential polygon annotation. Adding additional boundary points after creating an initial polygon depends on the creation order of the boundary points which is not very intuitive and also slow to execute.
Defining the polygon by a set of points instead of a list would make adding and removing of points much simpler.
Alpha-Concave Hull
In computational geometry, an alpha shape, or α-shape, is a family of piecewise linear simple curves in the Euclidean plane associated with the shape of a finite set of points. They were first defined by Edelsbrunner, Kirkpatrick & Seidel (1983). The alpha-shape associated with a set of points is a generalization of the concept of the convex hull, i.e. every convex hull is an alpha-shape but not every alpha shape is a convex hull.
source: https://en.wikipedia.org/wiki/Alpha_shape
Alpha-Concave Hull [0] is one such algorithm that could be interested for us.
Suggested steps.
literature review to find simple algorithm to associate shape with set of points.
poc implementation of algorithm in 01d_polygon_canvas.ipynb
Duckham, Matt, et al. "Efficient generation of simple polygons for characterizing the shape of a set of points in the plane." Pattern recognition 41.10 (2008): 3224-3236. PDF
Motivation
The polygon annotation widget
nbs/01d_polygon_canvas.ipynb
#5 (not yet included in the public github release) supports only sequential polygon annotation. Adding additional boundary points after creating an initial polygon depends on the creation order of the boundary points which is not very intuitive and also slow to execute.Defining the polygon by a set of points instead of a list would make adding and removing of points much simpler.
Alpha-Concave Hull
Alpha-Concave Hull [0] is one such algorithm that could be interested for us.
Suggested steps.
01d_polygon_canvas.ipynb
[0] Alpha-Concave Hull, a Generalization of Convex Hull
Note: This is an internal issue till the polygon annotation widget #5 is released.
The text was updated successfully, but these errors were encountered: