Apply filter to an image.

Namespace:  AForge.Imaging.Filters
Assembly:  AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)

Syntax

C#
public Bitmap Apply(
	BitmapData imageData
)

Parameters

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

Return Value

Returns image of the biggest blob.

Implements

IFilter..::.Apply(BitmapData)

Exceptions

ExceptionCondition
AForge.Imaging..::.UnsupportedImageFormatExceptionUnsupported pixel format of the source image.
AForge.Imaging..::.UnsupportedImageFormatExceptionUnsupported pixel format of the original image.
AForge.Imaging..::.InvalidImagePropertiesExceptionSource and original images must have the same size.
System..::.ArgumentExceptionThe source image does not contain any blobs.

See Also