The function allocates a multi-dimensional sparse array. Initially the array contain no elements, that is Get or GetReal returns zero for every index

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IntPtr cvCreateSparseMat(
	int dims,
	IntPtr sizes,
	MAT_DEPTH type
)
Public Shared Function cvCreateSparseMat ( _
	dims As Integer, _
	sizes As IntPtr, _
	type As MAT_DEPTH _
) As IntPtr
public:
static IntPtr cvCreateSparseMat(
	int dims, 
	IntPtr sizes, 
	MAT_DEPTH type
)

Parameters

dims
Int32
Number of array dimensions
sizes
IntPtr
Array of dimension sizes
type
MAT_DEPTH
Type of array elements

Return Value

Pointer to the array header

See Also