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.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
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)