Process the filter on the specified image.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.4.0 (2.2.4.0)
Syntax
| C# |
|---|
protected override void ProcessFilter( UnmanagedImage image, Rectangle rect ) |
Parameters
- image
- Type: AForge.Imaging..::.UnmanagedImage
Source image data.
- rect
- Type: System.Drawing..::.Rectangle
Image rectangle for processing by the filter.
Exceptions
| Exception | Condition |
|---|---|
| System..::.NullReferenceException | None of the possible mask properties were set. Need to provide mask before applying the filter. |
| System..::.ArgumentException | Invalid size of provided mask. Its size must be the same as the size of the image to mask. |