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#
void Apply(
	UnmanagedImage sourceImage,
	UnmanagedImage destinationImage
)

Parameters

sourceImage
Type: AForge.Imaging..::.UnmanagedImage
Source image to be processed.
destinationImage
Type: AForge.Imaging..::.UnmanagedImage
Destination image to store filter's result.

Remarks

The method keeps the source image unchanged and puts the the result of image processing filter into destination image.

Note:The destination image must have the size, which is expected by the filter.

Exceptions

ExceptionCondition
AForge.Imaging..::.InvalidImagePropertiesExceptionIn the case if destination image has incorrect size.

See Also