| MatCopyTo Method (Mat, InputArray) |
Copies the matrix to another one.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public void CopyTo(
Mat m,
InputArray mask = null
)
Public Sub CopyTo (
m As Mat,
Optional mask As InputArray = Nothing
)
public:
void CopyTo(
Mat^ m,
InputArray^ mask = nullptr
)
member CopyTo :
m : Mat *
?mask : InputArray
(* Defaults:
let _mask = defaultArg mask null
*)
-> unit
Parameters
- m
- Type: OpenCvSharpMat
Destination matrix. If it does not have a proper size or type before the operation, it is reallocated. - mask (Optional)
- Type: OpenCvSharpInputArray
Operation mask. Its non-zero elements indicate which matrix elements need to be copied.
See Also