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.CV
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.1.3497 (4.1.1.3497)
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