Initializes already allocated CvMat structure. It can be used to process raw data with OpenCV matrix functions.


- mat (IntPtr)
- Pointer to the matrix header to be initialized.
- rows (Int32)
- Number of rows in the matrix.
- cols (Int32)
- Number of columns in the matrix.
- type (MAT_DEPTH)
- Type of the matrix elements.
- data (IntPtr)
- Optional data pointer assigned to the matrix header
- step (Int32)
- Full row width in bytes of the data assigned. By default, the minimal possible step is used, i.e., no gaps is assumed between subsequent rows of the matrix.

[Missing <returns> documentation for M:Emgu.CV.CvInvoke.cvInitMatHeader(System.IntPtr,System.Int32,System.Int32,Emgu.CV.CvEnum.MAT_DEPTH,System.IntPtr,System.Int32)]