Initializes sequence header for array. The sequence header as well as the sequence block are allocated by the user (for example, on stack). No data is copied by the function. The resultant sequence will consists of a single block and have IntPtr.Zero storage pointer, thus, it is possible to read its elements, but the attempts to add elements to the sequence will raise an error in most cases

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

Syntax

         
 C#  Visual Basic  Visual C++ 
public static IntPtr cvMakeSeqHeaderForArray(
	int seqType,
	int headerSize,
	int elemSize,
	IntPtr elements,
	int total,
	IntPtr seq,
	IntPtr block
)
Public Shared Function cvMakeSeqHeaderForArray ( _
	seqType As Integer, _
	headerSize As Integer, _
	elemSize As Integer, _
	elements As IntPtr, _
	total As Integer, _
	seq As IntPtr, _
	block As IntPtr _
) As IntPtr
public:
static IntPtr cvMakeSeqHeaderForArray(
	int seqType, 
	int headerSize, 
	int elemSize, 
	IntPtr elements, 
	int total, 
	IntPtr seq, 
	IntPtr block
)

Parameters

seqType
Int32
Type of the created sequence
headerSize
Int32
Size of the header of the sequence. Parameter sequence must point to the structure of that size or greater size.
elemSize
Int32
Size of the sequence element
elements
IntPtr
Elements that will form a sequence
total
Int32
Total number of elements in the sequence. The number of array elements must be equal to the value of this parameter
seq
IntPtr
Pointer to the local variable that is used as the sequence header.
block
IntPtr
Pointer to the local variable that is the header of the single sequence block.

Return Value

Pointer to the local variable that is used as the sequence header

See Also