Click or drag to resize
MatConvertTo Method
http://www.emgu.com
Converts an array to another data type with optional scaling.

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.2.0.2682 (3.2.0.2682)
Syntax
public void ConvertTo(
	IOutputArray m,
	DepthType rtype,
	double alpha = 1,
	double beta = 0
)

Parameters

m
Type: Emgu.CVIOutputArray
Output matrix; if it does not have a proper size or type before the operation, it is reallocated.
rtype
Type: Emgu.CV.CvEnumDepthType
Desired output matrix type or, rather, the depth since the number of channels are the same as the input has; if rtype is negative, the output matrix will have the same type as the input.
alpha (Optional)
Type: SystemDouble
Optional scale factor.
beta (Optional)
Type: SystemDouble
Optional delta added to the scaled values.
See Also