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.2.0.1010 (2.2.0.1010)

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