Click or drag to resize
CvInvokecvInitMatHeader Method
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.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static IntPtr cvInitMatHeader(
	IntPtr mat,
	int rows,
	int cols,
	int type,
	IntPtr data,
	int step
)

Parameters

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

Type: IntPtr

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

See Also