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: 3.4.1.20180605-33-CaRLSharp
Syntax
public void ConvertTo(
	SparseMat m,
	int rtype,
	double alpha = 1
)

Parameters

m
Type: OpenCvSharpSparseMat
rtype
Type: SystemInt32
alpha (Optional)
Type: SystemDouble
See Also