Apply a user-defined linear convolution filter to an image.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
Parameters
- img
- Type: Stemmer.CvbImage
Image to apply the filter to. - kernel
- Type: SystemDouble
Coefficients of the filter kernel; must be a two-dimensional array. - maskOffset
- Type: Stemmer.CvbPoint2D
reference point of the filter mask, relative to the top left cell of the mask
Return Value
Type: ImageFiltered image.
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img or kernel is null. |
ObjectDisposedException | If the input img has already been disposed |
InvalidOperationException | If the user kernel has a rank != 2. |
See Also