Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

Did you try using convexHull()?

It finds the convex hull of a point set, I guess if you can "union" the contours (which are vector of points) that are close enough, and then apply this function, it can do the job.