This function applies a square low pass 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 be filtered. - size
- Type: Stemmer.Cvb.FoundationFixedFilterSize
Either Kernel3x3 or Kernel5x5.
Return Value
Type: ImageThe filtered image
Exceptions
Exception | Condition |
---|---|
ArgumentNullException | If the input img is null |
ObjectDisposedException | If the input img has already been disposed |
ArgumentException | If the size parameter is invalid (only 3x3 and 5x5 filter masks are supported |
See Also