BlobCounterBaseGetObjects Method (Bitmap, Boolean) |
Namespace: Accord.Imaging
Exception | Condition |
---|---|
UnsupportedImageFormatException | Unsupported pixel format of the provided image. |
ApplicationException | No image was processed before, so objects can not be collected. |
The method returns array of blobs. Before calling the method, the ProcessImage(Bitmap), ProcessImage(BitmapData) or ProcessImage(UnmanagedImage) method should be called, which will build objects map.
The method supports 24/32 bpp color and 8 bpp indexed grayscale images.