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: (


public Seq<T> Slice(
	MCvSlice slice,
	MemStorage storage,
	bool copy_data
Visual Basic
Public Function Slice ( 
	slice As MCvSlice,
	storage As MemStorage,
	copy_data As Boolean
) As Seq(Of T)
Visual C++
Seq<T>^ Slice(
	MCvSlice slice, 
	MemStorage^ storage, 
	bool copy_data
member Slice : 
        slice : MCvSlice * 
        storage : MemStorage * 
        copy_data : bool -> Seq<'T> 


Type: Emgu.CV.Structure..::..MCvSlice
The part of the sequence to extract
Type: Emgu.CV..::..MemStorage
The destination storage to keep the new sequence header and the copied data if any. If it is NULL, the function uses the storage containing the input sequence.
Type: System..::..Boolean
The flag that indicates whether to copy the elements of the extracted slice

Return Value

Type: Seq<(Of <(<'T>)>)>
A sequence that represents the specified slice of the input sequence

See Also