MatAssignTo Method (Mat, MatType) OpenCvSharp Class Library
Provides a functional form of convertTo.

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

public void AssignTo(
	Mat m,
	MatType type
)

Parameters

m
Type: OpenCvSharp.CPlusPlusMat
Destination array.
type
Type: OpenCvSharp.CPlusPlusMatType
Desired destination array depth (or -1 if it should be the same as the source type).
See Also

Reference