ProcessNormalizeMeanVariance Method

CVB.Net Documentation
Normalize an input image using mean/variance normalization (the gray values of the image will be stretched modified to generate a histogram as close as possible to the input target mean and variance values).

Namespace:  Stemmer.Cvb
Assembly:  Stemmer.Cvb (in Stemmer.Cvb.dll) Version: 14.0.0.0
Syntax

public static Image NormalizeMeanVariance(
	this Image img,
	double targetMean,
	double targetVariance
)

Parameters

img
Type: Stemmer.CvbImage
image to be normalized
targetMean
Type: SystemDouble
target mean value to achieve
targetVariance
Type: SystemDouble
target variance value to achieve

Return Value

Type: Image
newly created image

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type Image. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Exceptions

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

Reference