FilterWiener Method (Image, Size2D, Point2D)

CVB.Net Documentation
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
)

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: Image
The filtered image
Exceptions

ExceptionCondition
ArgumentNullExceptionIf the input img is null
ObjectDisposedExceptionIf the input img has already been disposed
Remarks

For each pixel of the input image, the function determines the local image mean and variance in the rectangular neighborhood (mask) defined by maskSize and maskOffset. The deviation from the local average is then diminished according to the local variance and the noise threshold parameters. The noise threshold parameter may be zero, in which case the function tries to determine itself what local noise threshold to apply. This normally yields the best results.
See Also

Reference