Table of Contents

Class ContourConvexity

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Provides the result of a convexity analysis of a polygonal contour, representing the deviations between each point in the contour and its convex hull.

public class ContourConvexity
Inheritance
ContourConvexity
Inherited Members

Constructors

ContourConvexity(Contour, Seq, Seq)

Initializes a new instance of the ContourConvexity class using the specified contour, convex hull and corresponding convexity defects.

Properties

Contour

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

ConvexHull

Gets a sequence containing the points in the convex hull of the polygonal contour.

ConvexityDefects

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

See Also