Click or drag to resize
Accord.NET (logo)

BlobCounterBaseGetObjectsRectangles Method

Get objects' rectangles.

Namespace:  Accord.Imaging
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.8.0
Syntax
public Rectangle[] GetObjectsRectangles()
Request Example View Source

Return Value

Type: Rectangle
Returns array of objects' rectangles.
Exceptions
ExceptionCondition
ApplicationExceptionNo image was processed before, so objects' rectangles can not be collected.
Remarks
The method returns array of objects rectangles. Before calling the method, the ProcessImage(Bitmap), ProcessImage(BitmapData) or ProcessImage(UnmanagedImage) method should be called, which will build objects map.
See Also