Wrapper to cvSeq of OpenCV.

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 class Seq<T> : IEnumerable<T>, IEnumerable
where T : struct, new()
Public Class Seq(Of T As {Structure, New}) _
	Implements IEnumerable(Of T), IEnumerable
generic<typename T>
where T : value class, gcnew()
public ref class Seq : IEnumerable<T>, IEnumerable

Type Parameters

T
The type of elements in this sequence, must be a structure

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Seq<(Of <(<'T>)>)>(MemStorage)
Create a sequence using the specific storage
Seq<(Of <(<'T>)>)>(Int32, MemStorage)
Create a sequence using the specific seqFlag and storage
Seq<(Of <(<'T>)>)>(IntPtr, MemStorage)
Create a sequence from the unmanaged pointer and the storage used by the pointer
Seq<(Of <(<'T>)>)>(SEQ_ELTYPE, SEQ_KIND, SEQ_FLAG, MemStorage)
Create a contour of the specific kind, type and flag
_ptr
The pointer to this sequence
_sizeOfElement
The size of the elements in theis sequence
_stor
The pointer to the storage used by this sequence
ApproxPoly(Double)
Approximates one curve and returns the approximation result, the result use the same storage as the current sequence
ApproxPoly(Double, MemStorage)
Approximates one curves and returns the approximation result
ApproxPoly(Double, Int32, MemStorage)
Approximates one or more curves and returns the approximation result[s]. In case of multiple curves approximation the resultant tree will have the same structure as the input one (1:1 correspondence)
Area
Get the area of the contour
BoundingRectangle
Get the smallest bouding rectangle
Clear()()()()
Removes all elements from the sequence. The function does not return the memory to the storage, but this memory is reused later when new elements are added to the sequence. This function time complexity is O(1).
Convex
Indicate if the coutour is a convex one
Distance(PointF)
Determines the distance from the point to the contour
ElementType
Get or Set the element Type
Equals(Object)
Determines whether the specified Object is equal to the current Object.
(Inherited from Object.)
Finalize()()()()
Allows an Object to attempt to free resources and perform other cleanup operations before the Object is reclaimed by garbage collection.
(Inherited from Object.)
FixElementType(Int32)
Fix the input element type and return the correct one
GetConvexHull(ORIENTATION)
Get the convex hull of this point sequence, the resulting convex hull use the same storage as the current sequence
GetConvexHull(ORIENTATION, MemStorage)
Get the convex hull of this point sequence
GetConvexityDefacts(MemStorage, ORIENTATION)
Finds all convexity defects of the input contour and returns a sequence of the CvConvexityDefect structures.
GetEnumerator()()()()
return an enumerator of the elements in the sequence
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMinAreaRect()()()()
Get the minimum area rectangle for this point sequence
GetMinAreaRect(MemStorage)
Get the minimum area rectangle for this point sequence
GetMoments()()()()
Get the moments for this point sequence
GetType()()()()
Gets the Type of the current instance.
(Inherited from Object.)
HNext
Same as h_next pointer in CvSeq
HPrev
Same as h_prev pointer in CvSeq
ImplicitWideningImplicitImplicitImplicit(Seq<(Of <<'(T>)>>) to IntPtr)
Implicit operator for IntPtr
InContour(PointF)
Determines whether the point is inside contour, outside, or lies on an edge (or coinsides with a vertex)
Insert(Int32, T)
Inserts element in sequence middle
Item[([( Int32])])
Obtain the index element in this sequence
MatchShapes(Seq<(Of <<'(T>)>>), CONTOURS_MATCH_TYPE)
Compare the shape of the current contour with objectToMatch
MCvSeq
Get the MCvSeq structure
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Perimeter
The perimeter of the sequence
Pop()()()()
Pop an element from the back of the sequence
PopFront()()()()
Pop an element from the front of the sequence
PopMulti(Int32, BACK_OR_FRONT)
Pop multiple elements from the sequence
Ptr
Get the pointer of this sequence
Push(T)
Push the data to the sequence
PushFront(T)
Push the data to the sequence
PushMulti(array<T>[]()[][], BACK_OR_FRONT)
Push multiple elements to the sequence
RemoveAt(Int32)
Removes element from sequence middle
Slice(MCvSlice, MemStorage, Boolean)
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
Storage
A Pointer to the storage used by this Seq
ToArray()()()()
Convert this sequence to array
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Total
Get the number of eelments in the sequence
VNext
Same as v_next pointer in CvSeq
VPrev
Same as v_prev pointer in CvSeq

Inheritance Hierarchy

System..::..Object
  Emgu.CV..::..Seq<(Of <(<'T>)>)>
    Emgu.CV..::..Contour<(Of <(<'T>)>)>

See Also