Apply filter to an image or its part.
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
Image to apply filter to.
- rect
- Type: System.Drawing..::.Rectangle
Image rectangle for processing by the filter.
Implements
IInPlacePartialFilter..::.ApplyInPlace(Bitmap, Rectangle)
Remarks
The method applies the filter directly to the provided source image.
Exceptions
Exception | Condition |
---|---|
AForge.Imaging..::.UnsupportedImageFormatException | Unsupported pixel format of the source image. |