Initializes a new instance of the Blob class.

Namespace:  AForge.Imaging
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Blob(
	int id,
	Rectangle rect
)

Parameters

id
Type: System..::.Int32
Blob's ID in the original image.
rect
Type: System.Drawing..::.Rectangle
Blob's rectangle in the original image.

Remarks

This constructor leaves Image property not initialized. The blob's image may be extracted later using ExtractBlobsImage(Bitmap, Blob, Boolean) or ExtractBlobsImage(UnmanagedImage, Blob, Boolean) method.

See Also