This function sets each pixel in the output image to the median value
all the input image pixels in the rectangular neighborhood defined by
the maskSize and the maskOffset
parameters.
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 - maskSize
- Type: Stemmer.CvbSize2D
Filter mask to be used - maskOffset
- Type: Stemmer.CvbPoint2D
Mask center pixel location
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 |
See Also