[Solved] Simple algorithm for approximation image contour for line segment
[ad_1] A possible approach. Find the convex hull of these points. Then find the two vertices which are the furthest apart. This gives a first diagonal. Then find the two other vertices that are the farthest from the first diagonal. This gives a second diagonal. Now you can just use the quadrilateral formed by these … Read more