Constructor ConnectedComponentCollection
ConnectedComponentCollection(Size)
Initializes a new instance of the ConnectedComponentCollection class using the specified image size.
public ConnectedComponentCollection(Size imageSize)
Parameters
imageSizeSizeThe 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
componentsIList<ConnectedComponent>The list of connected components that is wrapped by the new collection.
imageSizeSizeThe size of the image from which the connected components were extracted.