Table of Contents

Constructor ConnectedComponentCollection

Namespace
Bonsai.Vision
Assembly
Bonsai.Vision.dll

ConnectedComponentCollection(Size)

Initializes a new instance of the ConnectedComponentCollection class using the specified image size.

public ConnectedComponentCollection(Size imageSize)

Parameters

imageSize Size

The size of the image from which the connected components were extracted.

ConnectedComponentCollection(IList<ConnectedComponent>, Size)

Initializes a new instance of the ConnectedComponentCollection class as a wrapper for the specified list of connected components.

public ConnectedComponentCollection(IList<ConnectedComponent> components, Size imageSize)

Parameters

components IList<ConnectedComponent>

The list of connected components that is wrapped by the new collection.

imageSize Size

The size of the image from which the connected components were extracted.