http://www.emgu.com
Initializes already allocated CvMat structure. It can be used to process raw data with OpenCV matrix functions.

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.0.1717 (2.4.0.1717)

Syntax

C#
public static IntPtr cvInitMatHeader(
	IntPtr mat,
	int rows,
	int cols,
	int type,
	IntPtr data,
	int step
)
Visual Basic
Public Shared Function cvInitMatHeader ( _
	mat As IntPtr, _
	rows As Integer, _
	cols As Integer, _
	type As Integer, _
	data As IntPtr, _
	step As Integer _
) As IntPtr
Visual C++
public:
static IntPtr cvInitMatHeader(
	IntPtr mat, 
	int rows, 
	int cols, 
	int type, 
	IntPtr data, 
	int step
)

Parameters

mat
Type: System..::..IntPtr
Pointer to the matrix header to be initialized.
rows
Type: System..::..Int32
Number of rows in the matrix.
cols
Type: System..::..Int32
Number of columns in the matrix.
type
Type: System..::..Int32
Type of the matrix elements.
data
Type: System..::..IntPtr
Optional data pointer assigned to the matrix header
step
Type: System..::..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.

Return Value

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

See Also