Process the filter on the specified image.

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

Syntax

C#
protected override void ProcessFilter(
	UnmanagedImage image,
	Rectangle rect
)

Parameters

image
Type: AForge.Imaging..::.UnmanagedImage
Source image data.
rect
Type: System.Drawing..::.Rectangle
Image rectangle for processing by the filter.

Exceptions

ExceptionCondition
AForge.Imaging..::.InvalidImagePropertiesExceptionChannel image size does not match source image size.
AForge.Imaging..::.InvalidImagePropertiesExceptionChannel image's format does not correspond to format of the source image.
AForge.Imaging..::.InvalidImagePropertiesExceptionCan not replace alpha channel of none ARGB image. The exception is throw, when alpha channel is requested to be replaced in RGB image.

See Also