| Mat Constructor (Size, MatType) | 
        
         
            constructs 2D matrix of the specified size and type
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat(
	Size size,
	MatType type
)
Public Sub New ( 
	size As Size,
	type As MatType
)
public:
Mat(
	Size size, 
	MatType type
)
new : 
        size : Size * 
        type : MatType -> MatOpenCvSharp.Mat = function(size, type);
Parameters
- size
- Type: OpenCvSharpSize
 2D array size: Size(cols, rows) . In the Size() constructor, 
            the number of rows and the number of columns go in the reverse order.
- type
- Type: OpenCvSharpMatType
 Array type. Use MatType.CV_8UC1, ..., CV_64FC4 to create 1-4 channel matrices, 
            or MatType.CV_8UC(n), ..., CV_64FC(n) to create multi-channel matrices.
 See Also
See Also