Apply filter to an image.
Namespace:
AForge.Imaging.FiltersAssembly: 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.

Exceptions
Exception | Condition |
---|---|
AForge.Imaging..::.InvalidImagePropertiesException | In the case if destination image has incorrect size. |