Click or drag to resize

CvBlobLibSimplifyPolygon Method (CvContourPolygon)

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).

Namespace:  OpenCvSharp.Blob
Assembly:  OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax
public static CvContourPolygon SimplifyPolygon(
	CvContourPolygon polygon
)

Parameters

polygon
Type: OpenCvSharp.BlobCvContourPolygon
Contour (polygon type).

Return Value

Type: CvContourPolygon
A simplify version of the original polygon.
See Also