| Mat Constructor (Int32, Int32, 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(
	int rows,
	int cols,
	MatType type
)
Public Sub New ( 
	rows As Integer,
	cols As Integer,
	type As MatType
)
public:
Mat(
	int rows, 
	int cols, 
	MatType type
)
new : 
        rows : int * 
        cols : int * 
        type : MatType -> MatOpenCvSharp.Mat = function(rows, cols, type);
Parameters
- rows
- Type: SystemInt32
 Number of rows in a 2D array.
- cols
- Type: SystemInt32
 Number of columns in a 2D array.
- 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