Click or drag to resize
Accord.NET (logo)

ExtractBiggestBlobApply Method (BitmapData)

Apply filter to an image.

Namespace:  Accord.Imaging.Filters
Assembly:  Accord.Imaging (in Accord.Imaging.dll) Version: 3.7.0
Syntax
public Bitmap Apply(
	BitmapData imageData
)
Request Example View Source

Parameters

imageData
Type: System.Drawing.ImagingBitmapData
Source image to get biggest blob from.

Return Value

Type: Bitmap
Returns image of the biggest blob.

Implements

IFilterApply(BitmapData)
Exceptions
ExceptionCondition
UnsupportedImageFormatExceptionUnsupported pixel format of the source image.
UnsupportedImageFormatExceptionUnsupported pixel format of the original image.
InvalidImagePropertiesExceptionSource and original images must have the same size.
ArgumentExceptionThe source image does not contain any blobs.
See Also