BlobCounterBaseExtractBlobsImage Method (UnmanagedImage, Blob, Boolean) |
Namespace: Accord.Imaging
public void ExtractBlobsImage( UnmanagedImage image, Blob blob, bool extractInOriginalSize )
Exception | Condition |
---|---|
UnsupportedImageFormatException | Unsupported pixel format of the provided image. |
ApplicationException | No image was processed before, so blob can not be extracted. |
The method is used to extract image of partially initialized blob, which was provided by GetObjectsInformation method. 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.