Click or drag to resize
Accord.NET (logo)

ExtractBiggestBlobApply Method (Bitmap)

Apply filter to an image.

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

Parameters

image
Type: System.DrawingBitmap
Source image to get biggest blob from.

Return Value

Type: Bitmap
Returns image of the biggest blob.

Implements

IFilterApply(Bitmap)
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