MatCopyTo Method (Mat, Mat) OpenCvSharp Class Library
Copies the matrix to another one.

Namespace:  OpenCvSharp.CPlusPlus
Assembly:  OpenCvSharp.CPlusPlus (in OpenCvSharp.CPlusPlus.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public void CopyTo(
	Mat m,
	Mat mask
)

Parameters

m
Type: OpenCvSharp.CPlusPlusMat
Destination matrix. If it does not have a proper size or type before the operation, it is reallocated.
mask
Type: OpenCvSharp.CPlusPlusMat
Operation mask. Its non-zero elements indicate which matrix elements need to be copied.
See Also

Reference