CvContourPolygon Class OpenCvSharp Class Library
Polygon based contour.
Inheritance Hierarchy

SystemObject
  System.Collections.GenericListCvPoint
    OpenCvSharp.BlobCvContourPolygon

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax

public class CvContourPolygon : List<CvPoint>

The CvContourPolygon type exposes the following members.

Constructors

  NameDescription
Public methodCvContourPolygon
Initializes a new instance of the CvContourPolygon class
Public methodCvContourPolygon(IEnumerableCvPoint)
Initializes a new instance of the CvContourPolygon class
Top
Properties

  NameDescription
Public propertyCapacity (Inherited from ListCvPoint.)
Public propertyCount (Inherited from ListCvPoint.)
Public propertyItem (Inherited from ListCvPoint.)
Top
Methods

  NameDescription
Public methodAdd (Inherited from ListCvPoint.)
Public methodAddRange (Inherited from ListCvPoint.)
Public methodArea
Calculates area of a polygonal contour.
Public methodAsReadOnly (Inherited from ListCvPoint.)
Public methodBinarySearch(T) (Inherited from ListCvPoint.)
Public methodBinarySearch(T, IComparerT) (Inherited from ListCvPoint.)
Public methodBinarySearch(Int32, Int32, T, IComparerT) (Inherited from ListCvPoint.)
Public methodCircularity
Calculates the circularity of a polygon (compactness measure).
Public methodClear (Inherited from ListCvPoint.)
Public methodContains (Inherited from ListCvPoint.)
Public methodContourConvexHull
Calculates convex hull of a contour. Uses the Melkman Algorithm. Code based on the version in http://w3.impa.br/~rdcastan/Cgeometry/.
Public methodConvertAllTOutput (Inherited from ListCvPoint.)
Public methodCopyTo(T) (Inherited from ListCvPoint.)
Public methodCopyTo(T, Int32) (Inherited from ListCvPoint.)
Public methodCopyTo(Int32, T, Int32, Int32) (Inherited from ListCvPoint.)
Public methodEquals (Inherited from Object.)
Public methodExists (Inherited from ListCvPoint.)
Protected methodFinalize (Inherited from Object.)
Public methodFind (Inherited from ListCvPoint.)
Public methodFindAll (Inherited from ListCvPoint.)
Public methodFindIndex(PredicateT) (Inherited from ListCvPoint.)
Public methodFindIndex(Int32, PredicateT) (Inherited from ListCvPoint.)
Public methodFindIndex(Int32, Int32, PredicateT) (Inherited from ListCvPoint.)
Public methodFindLast (Inherited from ListCvPoint.)
Public methodFindLastIndex(PredicateT) (Inherited from ListCvPoint.)
Public methodFindLastIndex(Int32, PredicateT) (Inherited from ListCvPoint.)
Public methodFindLastIndex(Int32, Int32, PredicateT) (Inherited from ListCvPoint.)
Public methodForEach (Inherited from ListCvPoint.)
Public methodGetEnumerator (Inherited from ListCvPoint.)
Public methodGetHashCode (Inherited from Object.)
Public methodGetRange (Inherited from ListCvPoint.)
Public methodGetType (Inherited from Object.)
Public methodIndexOf(T) (Inherited from ListCvPoint.)
Public methodIndexOf(T, Int32) (Inherited from ListCvPoint.)
Public methodIndexOf(T, Int32, Int32) (Inherited from ListCvPoint.)
Public methodInsert (Inherited from ListCvPoint.)
Public methodInsertRange (Inherited from ListCvPoint.)
Public methodLastIndexOf(T) (Inherited from ListCvPoint.)
Public methodLastIndexOf(T, Int32) (Inherited from ListCvPoint.)
Public methodLastIndexOf(T, Int32, Int32) (Inherited from ListCvPoint.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodPerimeter
Calculates perimeter of a chain code contour.
Public methodRemove (Inherited from ListCvPoint.)
Public methodRemoveAll (Inherited from ListCvPoint.)
Public methodRemoveAt (Inherited from ListCvPoint.)
Public methodRemoveRange (Inherited from ListCvPoint.)
Public methodRender(IplImage)
Draw a polygon.
Public methodRender(IplImage, CvScalar)
Draw a polygon.
Public methodReverse (Inherited from ListCvPoint.)
Public methodReverse(Int32, Int32) (Inherited from ListCvPoint.)
Public methodSimplify
Simplify a polygon reducing the number of vertex according the distance "delta". Uses a version of the Ramer-Douglas-Peucker algorithm (http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm).
Public methodSimplify(Double)
Simplify a polygon reducing the number of vertex according the distance "delta". Uses a version of the Ramer-Douglas-Peucker algorithm (http://en.wikipedia.org/wiki/Ramer-Douglas-Peucker_algorithm).
Public methodSort (Inherited from ListCvPoint.)
Public methodSort(IComparerT) (Inherited from ListCvPoint.)
Public methodSort(ComparisonT) (Inherited from ListCvPoint.)
Public methodSort(Int32, Int32, IComparerT) (Inherited from ListCvPoint.)
Public methodToArray (Inherited from ListCvPoint.)
Public methodToString
Converts this to CSV string
(Overrides ObjectToString.)
Public methodTrimExcess (Inherited from ListCvPoint.)
Public methodTrueForAll (Inherited from ListCvPoint.)
Public methodWriteAsCsv
Write a contour to a CSV (Comma-separated values) file.
Public methodWriteAsSvg(String)
Write a contour to a SVG file.
Public methodWriteAsSvg(String, CvScalar, CvScalar)
Write a contour to a SVG file.
Top
See Also

Reference