CvInvokecvCreateMat Method |
http://www.emgu.com
Allocates header for the new matrix and underlying data, and returns a pointer to the created matrix. Matrices are stored row by row. All the rows are aligned by 4 bytes.
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 3.0.0.2161 (3.0.0.2161)
Syntaxpublic static IntPtr cvCreateMat(
int rows,
int cols,
DepthType type
)
Public Shared Function cvCreateMat (
rows As Integer,
cols As Integer,
type As DepthType
) As IntPtr
public:
static IntPtr cvCreateMat(
int rows,
int cols,
DepthType type
)
static member cvCreateMat :
rows : int *
cols : int *
type : DepthType -> IntPtr
Parameters
- rows
- Type: SystemInt32
Number of rows in the matrix. - cols
- Type: SystemInt32
Number of columns in the matrix. - type
- Type: Emgu.CV.CvEnumDepthType
Type of the matrix elements.
Return Value
Type:
IntPtrA pointer to the created matrix
See Also