Creates a sequence that represents the specified slice of the input sequence. The new sequence either shares the elements with the original sequence or has own copy of the elements. So if one needs to process a part of sequence but the processing function does not have a slice parameter, the required sub-sequence may be extracted using this function.

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 cvSeqSlice(
	IntPtr seq,
	MCvSlice slice,
	IntPtr storage,
	int copyData
)
Public Shared Function cvSeqSlice ( _
	seq As IntPtr, _
	slice As MCvSlice, _
	storage As IntPtr, _
	copyData As Integer _
) As IntPtr
public:
static IntPtr cvSeqSlice(
	IntPtr seq, 
	MCvSlice slice, 
	IntPtr storage, 
	int copyData
)

Parameters

seq
IntPtr
Sequence
slice
MCvSlice
The part of the sequence to extract
storage
IntPtr
The destination storage to keep the new sequence header and the copied data if any. If it is IntPtr.Zero, the function uses the storage containing the input sequence.
copyData
Int32
The flag that indicates whether to copy the elements of the extracted slice (copy_data!=0) or not (copy_data=0)

Return Value

A pointer to CvSeq

See Also