Apply filter to an image in unmanaged memory.

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

Syntax

C#
public UnmanagedImage Apply(
	UnmanagedImage image
)

Parameters

image
Type: AForge.Imaging..::.UnmanagedImage
Source image in unmanaged memory to apply filter to.

Return Value

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

Implements

IFilter..::.Apply(UnmanagedImage)

Remarks

The method keeps the source image unchanged and returns the result of image processing filter as new image.

Exceptions

ExceptionCondition
System..::.ApplicationExceptionNo filters were added into the filters' sequence.

See Also