Process the filter on the specified image.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.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 |
---|---|
AForge.Imaging..::.InvalidImagePropertiesException | Channel image size does not match source image size. |
AForge.Imaging..::.InvalidImagePropertiesException | Channel image's format does not correspond to format of the source image. |
AForge.Imaging..::.InvalidImagePropertiesException | Can not replace alpha channel of none ARGB image. The exception is throw, when alpha channel is requested to be replaced in RGB image. |