Apply filter to an image in unmanaged memory.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.4.0 (2.2.4.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
| Exception | Condition |
|---|---|
| AForge.Imaging..::.UnsupportedImageFormatException | Unsupported pixel format of the source image. |