Wrapped class for Contour

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

Type Parameters

T
The type of elements in the Contour, either PointF or Point.

Members

               
 All Members  Constructors   Fields   Properties   Methods  
 Public

 Protected
 Instance

 Static 
 Declared

 Inherited
 XNA Framework Only 

 .NET Compact Framework Only 

 MemberDescription
Contour<(Of <(<'T>)>)>(MemStorage)
Create a contour using the specific storage
Contour<(Of <(<'T>)>)>(Int32, MemStorage)
Create a contour using the specific seqFlag and storage
Contour<(Of <(<'T>)>)>(IntPtr, MemStorage)
Craete a contour from the specific IntPtr and storage
Contour<(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
(Inherited from Seq<(Of <(<'T>)>)>.)
_stor
The pointer to the storage used by this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
ApproxPoly(Double)
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)
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
(Inherited from Seq<(Of <(<'T>)>)>.)
BoundingRectangle
Get the smallest bouding rectangle
(Overrides Seq<(Of <(<'T>)>)>..::..BoundingRectangle.)
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).
(Inherited from Seq<(Of <(<'T>)>)>.)
Convex
Indicate if the coutour is a convex one
(Inherited from Seq<(Of <(<'T>)>)>.)
Distance(PointF)
Determines the distance from the point to the contour
(Inherited from Seq<(Of <(<'T>)>)>.)
ElementType
Get or Set the element Type
(Inherited from Seq<(Of <(<'T>)>)>.)
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.)
GetConvexHull(ORIENTATION)
Get the convex hull of this point sequence, the resulting convex hull use the same storage as the current sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetConvexHull(ORIENTATION, MemStorage)
Get the convex hull of this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetConvexityDefacts(MemStorage, ORIENTATION)
Finds all convexity defects of the input contour and returns a sequence of the CvConvexityDefect structures.
(Inherited from Seq<(Of <(<'T>)>)>.)
GetEnumerator()()()()
return an enumerator of the elements in the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetHashCode()()()()
Serves as a hash function for a particular type.
(Inherited from Object.)
GetMinAreaRect()()()()
Get the minimum area rectangle for this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetMinAreaRect(MemStorage)
Get the minimum area rectangle for this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
GetMoments()()()()
Get the moments for this point sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
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
InContour(PointF)
Determines whether the point is inside contour, outside, or lies on an edge (or coinsides with a vertex)
(Overrides Seq<(Of <(<'T>)>)>..::..InContour(PointF).)
Insert(Int32, T)
Inserts element in sequence middle
(Inherited from Seq<(Of <(<'T>)>)>.)
Item[([( Int32])])
Obtain the index element in this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
MatchShapes(Seq<(Of <<'(T>)>>), CONTOURS_MATCH_TYPE)
Compare the shape of the current contour with objectToMatch
(Inherited from Seq<(Of <(<'T>)>)>.)
MCvContour
Return the MCvContour structure
MCvSeq
Get the MCvSeq structure
(Inherited from Seq<(Of <(<'T>)>)>.)
MemberwiseClone()()()()
Creates a shallow copy of the current Object.
(Inherited from Object.)
Perimeter
The perimeter of the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
Pop()()()()
Pop an element from the back of the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PopFront()()()()
Pop an element from the front of the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PopMulti(Int32, BACK_OR_FRONT)
Pop multiple elements from the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
Ptr
Get the pointer of this sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
Push(T)
Push the data to the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PushFront(T)
Push the data to the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
PushMulti(array<T>[]()[][], BACK_OR_FRONT)
Push multiple elements to the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
RemoveAt(Int32)
Removes element from sequence middle
(Inherited from Seq<(Of <(<'T>)>)>.)
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
(Inherited from Seq<(Of <(<'T>)>)>.)
Storage
A Pointer to the storage used by this Seq
(Inherited from Seq<(Of <(<'T>)>)>.)
ToArray()()()()
Convert this sequence to array
(Inherited from Seq<(Of <(<'T>)>)>.)
ToString()()()()
Returns a String that represents the current Object.
(Inherited from Object.)
Total
Get the number of eelments in the sequence
(Inherited from Seq<(Of <(<'T>)>)>.)
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