MatNormalize Method OpenCvSharp Class Library
scales and shifts array elements so that either the specified norm (alpha) or the minimum (alpha) and maximum (beta) array values get the specified values

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public Mat Normalize(
	double alpha = 1,
	double beta = 0,
	NormType normType = NormType.L2,
	int dtype = -1,
	InputArray mask = null
)

Parameters

alpha (Optional)
Type: SystemDouble
The norm value to normalize to or the lower range boundary in the case of range normalization
beta (Optional)
Type: SystemDouble
The upper range boundary in the case of range normalization; not used for norm normalization
normType (Optional)
Type: OpenCvSharpNormType
The normalization type
dtype (Optional)
Type: SystemInt32
When the parameter is negative, the destination array will have the same type as src, otherwise it will have the same number of channels as src and the depth =CV_MAT_DEPTH(rtype)
mask (Optional)
Type: OpenCvSharp.CPlusPlusInputArray
The optional operation mask

Return Value

Type: Mat

[Missing <returns> documentation for "M:OpenCvSharp.CPlusPlus.Mat.Normalize(System.Double,System.Double,OpenCvSharp.NormType,System.Int32,OpenCvSharp.CPlusPlus.InputArray)"]

See Also

Reference