Method CopyTo
- Namespace
- OpenCvSharp
- Assembly
- OpenCvSharp.dll
CopyTo(OutputArray, InputArray)
Copies the matrix to another one.
public void CopyTo(OutputArray m, InputArray mask = default)
Parameters
mOutputArrayDestination matrix. If it does not have a proper size or type before the operation, it is reallocated.
maskInputArrayOperation mask. Its non-zero elements indicate which matrix elements need to be copied.
CopyTo(Mat, InputArray)
Copies the matrix to another one.
public void CopyTo(Mat m, InputArray mask = default)
Parameters
mMatDestination matrix. If it does not have a proper size or type before the operation, it is reallocated.
maskInputArrayOperation mask. Its non-zero elements indicate which matrix elements need to be copied.