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
Parameters
- image
- Type: System.Drawing..::.Bitmap
Source image to apply filter to.
Return Value
Returns filter's result obtained by applying the filter to the source image.Implements
IFilter..::.Apply(Bitmap)
Remarks
The method keeps the source image unchanged and returns
the result of image processing filter as new image.
Exceptions
Exception | Condition |
---|---|
System..::.ApplicationException | No filters were added into the filters' sequence. |