Click or drag to resize
Accord.NET (logo)

Blob Constructor (Int32, Rectangle)

Initializes a new instance of the Blob class.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public Blob(
	int id,
	Rectangle rect
)
Request Example View Source

Parameters

id
Type: SystemInt32
Blob's ID in the original image.
rect
Type: System.DrawingRectangle
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