UMat Constructor (Int32, Int32, DepthType, Int32) |
http://www.emgu.com
Create a umat of the specific type.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic UMat(
int rows,
int cols,
DepthType type,
int channels
)
Public Sub New (
rows As Integer,
cols As Integer,
type As DepthType,
channels As Integer
)
public:
UMat(
int rows,
int cols,
DepthType type,
int channels
)
new :
rows : int *
cols : int *
type : DepthType *
channels : int -> UMat
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