Mat Constructor (Int32, Int32, DepthType, Int32) |
http://www.emgu.com
Create a mat of the specific type.
Namespace:
Emgu.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
Syntaxpublic Mat(
int rows,
int cols,
DepthType type,
int channels
)
Public Sub New (
rows As Integer,
cols As Integer,
type As DepthType,
channels As Integer
)
public:
Mat(
int rows,
int cols,
DepthType type,
int channels
)
new :
rows : int *
cols : int *
type : DepthType *
channels : int -> Mat
Parameters
- rows
- Type: SystemInt32
Number of rows in a 2D array. - cols
- Type: SystemInt32
Number of columns in a 2D array. - type
- Type: Emgu.CV.CvEnumDepthType
Mat element type - channels
- Type: SystemInt32
Number of channels
See Also