public Seq<Point> GetConvexHull(List<Contour<Point>> contourPoints) { Seq<Point> hullPoints = new Seq<Point>(new MemStorage()); foreach (Seq<Point> countoure in contourPoints) { hullPoints.PushMulti(countoure.ToArray(), BACK_OR_FRONT.FRONT); } hullPoints = hullPoints.GetConvexHull(ORIENTATION.CV_COUNTER_CLOCKWISE); return hullPoints; }