Click or drag to resize

SparseMatConvertTo Method (SparseMat, Int32, Double)

multiplies all the matrix elements by the specified scale factor alpha and converts the results to the specified data type

Namespace:  OpenCvSharp
Assembly:  OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax
public void ConvertTo(
	SparseMat m,
	int rtype,
	double alpha = 1
)

Parameters

m
Type: OpenCvSharpSparseMat

[Missing <param name="m"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.SparseMat,System.Int32,System.Double)"]

rtype
Type: SystemInt32

[Missing <param name="rtype"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.SparseMat,System.Int32,System.Double)"]

alpha (Optional)
Type: SystemDouble

[Missing <param name="alpha"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.SparseMat,System.Int32,System.Double)"]

See Also