| Mat Constructor (IEnumerableInt32, MatType, Scalar) | 
        
         
            constructs n-dimensional matrix
            
 
    Namespace: 
   OpenCvSharp
    Assembly:
   OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
 Syntax
Syntaxpublic Mat(
	IEnumerable<int> sizes,
	MatType type,
	Scalar s
)
Public Sub New ( 
	sizes As IEnumerable(Of Integer),
	type As MatType,
	s As Scalar
)
public:
Mat(
	IEnumerable<int>^ sizes, 
	MatType type, 
	Scalar s
)
new : 
        sizes : IEnumerable<int> * 
        type : MatType * 
        s : Scalar -> MatOpenCvSharp.Mat = function(sizes, type, s);
Parameters
- sizes
- Type: System.Collections.GenericIEnumerableInt32
 Array of integers specifying an n-dimensional array shape.
- 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.
- s
- Type: OpenCvSharpScalar
 An optional value to initialize each matrix element with. 
            To set all the matrix elements to the particular value after the construction, use SetTo(Scalar s) method .
 See Also
See Also