ProcessNormalizeMinMax Method

CVB.Net Documentation
Normalize an input image using min/max normalization (the gray values of the image will be stretched or compressed to fit the input target minimum and maximum values).

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

public static Image NormalizeMinMax(
	this Image img,
	double targetMin,
	double targetMax
)

Parameters

img
Type: Stemmer.CvbImage
image to be normalized
targetMin
Type: SystemDouble
target minimum value to achieve
targetMax
Type: SystemDouble
target maximum 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