| 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: 1.0.0
Syntax public 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
Parameters
- m
- Type: OpenCvSharpSparseMat
[Missing <param name="m"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.SparseMat,System.Int32,System.Double)"]
- rtype
- Type: SystemInt32
[Missing <param name="rtype"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.SparseMat,System.Int32,System.Double)"]
- alpha (Optional)
- Type: SystemDouble
[Missing <param name="alpha"/> documentation for "M:OpenCvSharp.SparseMat.ConvertTo(OpenCvSharp.SparseMat,System.Int32,System.Double)"]
See Also