http://www.emgu.com
Initializes CvMatND structure allocated by the user

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

Syntax

C#
public static IntPtr cvInitMatNDHeader(
	IntPtr mat,
	int dims,
	int[] sizes,
	MAT_DEPTH type,
	IntPtr data
)
Visual Basic
Public Shared Function cvInitMatNDHeader ( _
	mat As IntPtr, _
	dims As Integer, _
	sizes As Integer(), _
	type As MAT_DEPTH, _
	data As IntPtr _
) As IntPtr
Visual C++
public:
static IntPtr cvInitMatNDHeader(
	IntPtr mat, 
	int dims, 
	[InAttribute] array<int>^ sizes, 
	MAT_DEPTH type, 
	IntPtr data
)

Parameters

mat
Type: System..::..IntPtr
Pointer to the array header to be initialized
dims
Type: System..::..Int32
Number of array dimensions
sizes
Type: array<System..::..Int32>[]()[][]
Array of dimension sizes
type
Type: Emgu.CV.CvEnum..::..MAT_DEPTH
Type of array elements
data
Type: System..::..IntPtr
Optional data pointer assigned to the matrix header

Return Value

Pointer to the array header

See Also