| CvBlobLibPolygonContourConvexHull Method |
Calculates convex hull of a contour.
Uses the Melkman Algorithm. Code based on the version in http://w3.impa.br/~rdcastan/Cgeometry/.
Namespace:
OpenCvSharp.Blob
Assembly:
OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax public static CvContourPolygon PolygonContourConvexHull(
CvContourPolygon polygon
)
Public Shared Function PolygonContourConvexHull (
polygon As CvContourPolygon
) As CvContourPolygon
public:
static CvContourPolygon^ PolygonContourConvexHull(
CvContourPolygon^ polygon
)
static member PolygonContourConvexHull :
polygon : CvContourPolygon -> CvContourPolygon
Parameters
- polygon
- Type: OpenCvSharp.BlobCvContourPolygon
Contour (polygon type).
Return Value
Type:
CvContourPolygonConvex hull.
See Also