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 apply filter to.

Return Value

Returns filter's result obtained by applying the filter to the source image.

Implements

IFilter..::.Apply(BitmapData)

Remarks

The filter accepts bitmap data as input and returns the result of image processing filter as new image. The source image data are kept unchanged.

Exceptions

ExceptionCondition
AForge.Imaging..::.UnsupportedImageFormatExceptionUnsupported pixel format of the source image.

See Also