SparseMatConvertTo Method (Mat, Int32, Double, Double) OpenCvSharp Class Library
converts sparse matrix to dense n-dim matrix with optional type conversion and scaling.

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

public void ConvertTo(
	Mat m,
	int rtype,
	double alpha = 1,
	double beta = 0
)

Parameters

m
Type: OpenCvSharp.CPlusPlusMat

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

rtype
Type: SystemInt32
The output matrix data type. When it is =-1, the output array will have the same data type as (*this)
alpha (Optional)
Type: SystemDouble
The scale factor
beta (Optional)
Type: SystemDouble
The optional delta added to the scaled values before the conversion
See Also

Reference