MatCopyTo Method (Mat, Mat)
|
Copies the matrix to another one.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void CopyTo(
Mat m,
Mat mask
)
Public Sub CopyTo (
m As Mat,
mask As Mat
)
public:
void CopyTo(
Mat^ m,
Mat^ mask
)
member CopyTo :
m : Mat *
mask : Mat -> unit
function CopyTo(m, mask);
Parameters
- m
- Type: OpenCvSharpMat
Destination matrix. If it does not have a proper size or type before the operation, it is reallocated. - mask
- Type: OpenCvSharpMat
Operation mask. Its non-zero elements indicate which matrix elements need to be copied.
See Also