Table of Contents

Class Contours

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

Provides a reference to a hierarchy of polygonal contours extracted from an image bitmap.

public class Contours
Inheritance
Contours
Inherited Members

Constructors

Contours(Seq, Size)

Initializes a new instance of the Contours class using the specified root node and image size.

public Contours(Seq firstContour, Size imageSize)

Parameters

firstContour Seq

The first node in the hierarchy of extracted polygonal contours.

imageSize Size

The pixel-accurate size of the image from which the contours were extracted.

Properties

FirstContour

Gets the reference to the first polygonal contour in the hierarchy.

public Seq FirstContour { get; }

Property Value

Seq

ImageSize

Gets the pixel-accurate size of the image from which the polygonal contours were extracted.

public Size ImageSize { get; }

Property Value

Size