Initializes CvMatND structure allocated by the user

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

Syntax

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

Parameters

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

Return Value

Pointer to the array header

See Also