Click or drag to resize

SparseMatConvertTo Method (Mat, Int32, Double, Double)

converts sparse matrix to dense n-dim matrix with optional type conversion and scaling.

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

Parameters

m
Type: OpenCvSharpMat

[Missing <param name="m"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.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