Constructor ConnectedComponentCollection
ConnectedComponentCollection(Size)
Initializes a new instance of the ConnectedComponentCollection class using the specified image size.
public ConnectedComponentCollection(Size imageSize)
Parameters
imageSize
SizeThe 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
SizeThe size of the image from which the connected components were extracted.