Table of Contents

Constructor ContourConvexity

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

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 Contour

The polygonal contour from which the convex hull and convexity defects were calculated.

convexHull Seq

A sequence containing the points in the convex hull of the polygonal contour.

convexityDefects Seq

A sequence of OpenCV.Net.ConvexityDefect structures representing the deviations between each point in the polygonal contour and its convex hull.