Polygon based contour.
Inheritance Hierarchy
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
The CvContourPolygon type exposes the following members.
Constructors
| Name | Description | |
|---|---|---|
| CvContourPolygon | Initializes a new instance of the CvContourPolygon class | |
| CvContourPolygon(IEnumerableCvPoint) | Initializes a new instance of the CvContourPolygon class |
Properties
| Name | Description | |
|---|---|---|
| Capacity | (Inherited from ListCvPoint.) | |
| Count | (Inherited from ListCvPoint.) | |
| Item | (Inherited from ListCvPoint.) |
Methods
| Name | Description | |
|---|---|---|
| Add | (Inherited from ListCvPoint.) | |
| AddRange | (Inherited from ListCvPoint.) | |
| Area |
Calculates area of a polygonal contour.
| |
| AsReadOnly | (Inherited from ListCvPoint.) | |
| BinarySearch(T) | (Inherited from ListCvPoint.) | |
| BinarySearch(T, IComparerT) | (Inherited from ListCvPoint.) | |
| BinarySearch(Int32, Int32, T, IComparerT) | (Inherited from ListCvPoint.) | |
| Circularity |
Calculates the circularity of a polygon (compactness measure).
| |
| Clear | (Inherited from ListCvPoint.) | |
| Contains | (Inherited from ListCvPoint.) | |
| ContourConvexHull |
Calculates convex hull of a contour.
Uses the Melkman Algorithm. Code based on the version in http://w3.impa.br/~rdcastan/Cgeometry/.
| |
| ConvertAllTOutput | (Inherited from ListCvPoint.) | |
| CopyTo(T) | (Inherited from ListCvPoint.) | |
| CopyTo(T, Int32) | (Inherited from ListCvPoint.) | |
| CopyTo(Int32, T, Int32, Int32) | (Inherited from ListCvPoint.) | |
| Equals | (Inherited from Object.) | |
| Exists | (Inherited from ListCvPoint.) | |
| Finalize | (Inherited from Object.) | |
| Find | (Inherited from ListCvPoint.) | |
| FindAll | (Inherited from ListCvPoint.) | |
| FindIndex(PredicateT) | (Inherited from ListCvPoint.) | |
| FindIndex(Int32, PredicateT) | (Inherited from ListCvPoint.) | |
| FindIndex(Int32, Int32, PredicateT) | (Inherited from ListCvPoint.) | |
| FindLast | (Inherited from ListCvPoint.) | |
| FindLastIndex(PredicateT) | (Inherited from ListCvPoint.) | |
| FindLastIndex(Int32, PredicateT) | (Inherited from ListCvPoint.) | |
| FindLastIndex(Int32, Int32, PredicateT) | (Inherited from ListCvPoint.) | |
| ForEach | (Inherited from ListCvPoint.) | |
| GetEnumerator | (Inherited from ListCvPoint.) | |
| GetHashCode | (Inherited from Object.) | |
| GetRange | (Inherited from ListCvPoint.) | |
| GetType | (Inherited from Object.) | |
| IndexOf(T) | (Inherited from ListCvPoint.) | |
| IndexOf(T, Int32) | (Inherited from ListCvPoint.) | |
| IndexOf(T, Int32, Int32) | (Inherited from ListCvPoint.) | |
| Insert | (Inherited from ListCvPoint.) | |
| InsertRange | (Inherited from ListCvPoint.) | |
| LastIndexOf(T) | (Inherited from ListCvPoint.) | |
| LastIndexOf(T, Int32) | (Inherited from ListCvPoint.) | |
| LastIndexOf(T, Int32, Int32) | (Inherited from ListCvPoint.) | |
| MemberwiseClone | (Inherited from Object.) | |
| Perimeter |
Calculates perimeter of a chain code contour.
| |
| Remove | (Inherited from ListCvPoint.) | |
| RemoveAll | (Inherited from ListCvPoint.) | |
| RemoveAt | (Inherited from ListCvPoint.) | |
| RemoveRange | (Inherited from ListCvPoint.) | |
| Render(IplImage) |
Draw a polygon.
| |
| Render(IplImage, CvScalar) |
Draw a polygon.
| |
| Reverse | (Inherited from ListCvPoint.) | |
| Reverse(Int32, Int32) | (Inherited from ListCvPoint.) | |
| Simplify |
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).
| |
| Simplify(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).
| |
| Sort | (Inherited from ListCvPoint.) | |
| Sort(IComparerT) | (Inherited from ListCvPoint.) | |
| Sort(ComparisonT) | (Inherited from ListCvPoint.) | |
| Sort(Int32, Int32, IComparerT) | (Inherited from ListCvPoint.) | |
| ToArray | (Inherited from ListCvPoint.) | |
| ToString |
Converts this to CSV string
(Overrides ObjectToString.) | |
| TrimExcess | (Inherited from ListCvPoint.) | |
| TrueForAll | (Inherited from ListCvPoint.) | |
| WriteAsCsv |
Write a contour to a CSV (Comma-separated values) file.
| |
| WriteAsSvg(String) |
Write a contour to a SVG file.
| |
| WriteAsSvg(String, CvScalar, CvScalar) |
Write a contour to a SVG file.
|
See Also