First time here? Check out the FAQ!
answered 2014-09-02 02:30:15 -0600
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.