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
Syntaxpublic void ConvertTo(
SparseMat m,
int rtype,
double alpha = 1
)
Public Sub ConvertTo (
m As SparseMat,
rtype As Integer,
Optional alpha As Double = 1
)
public:
void ConvertTo(
SparseMat^ m,
int rtype,
double alpha = 1
)
member ConvertTo :
m : SparseMat *
rtype : int *
?alpha : float
(* Defaults:
let _alpha = defaultArg alpha 1
*)
-> unit
function ConvertTo(m, rtype, alpha);
Parameters
- m
- Type: OpenCvSharpSparseMat
- rtype
- Type: SystemInt32
- alpha (Optional)
- Type: SystemDouble
See Also