This function performs adaptive filtering of an image degraded by
constant power additive noise.
Namespace: Stemmer.Cvb.Foundation
Assembly: Stemmer.Cvb.Foundation (in Stemmer.Cvb.Foundation.dll) Version: 14.0.0.0
Syntax
public static Image Wiener( Image img, Size2D maskSize, Point2D maskOffset, double noiseThreshold )
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 - noiseThreshold
- Type: SystemDouble
Noise suppression threshold.
Valid input ranges from 0 to 1; with 0 causing the function to determine the threshold automatically.
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 |
If the noiseThreshold is outside its range. |
Remarks
See Also