Constructor ContourConvexity
ContourConvexity(Contour, Seq, Seq)
Initializes a new instance of the ContourConvexity class using the specified contour, convex hull and corresponding convexity defects.
public ContourConvexity(Contour contour, Seq convexHull, Seq convexityDefects)
Parameters
contour
ContourThe polygonal contour from which the convex hull and convexity defects were calculated.
convexHull
SeqA sequence containing the points in the convex hull of the polygonal contour.
convexityDefects
SeqA sequence of OpenCV.Net.ConvexityDefect structures representing the deviations between each point in the polygonal contour and its convex hull.