| 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
)
Public Sub ConvertTo (
m As Mat,
rtype As Integer,
Optional alpha As Double = 1,
Optional beta As Double = 0
)
public:
void ConvertTo(
Mat^ m,
int rtype,
double alpha = 1,
double beta = 0
)
member ConvertTo :
m : Mat *
rtype : int *
?alpha : float *
?beta : float
(* Defaults:
let _alpha = defaultArg alpha 1
let _beta = defaultArg beta 0
*)
-> unit
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