Apply filter to an unmanaged image or its part.
Namespace:
AForge.Imaging.FiltersAssembly: AForge.Imaging (in AForge.Imaging.dll) Version: 2.2.5.0 (2.2.5.0)
Syntax
C# |
---|
public void ApplyInPlace( UnmanagedImage image, Rectangle rect ) |
Parameters
- image
- Type: AForge.Imaging..::.UnmanagedImage
Unmanaged image to apply filter to.
- rect
- Type: System.Drawing..::.Rectangle
Image rectangle for processing by the filter.
Implements
IInPlacePartialFilter..::.ApplyInPlace(UnmanagedImage, 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. |