| 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
)
Public Shared Function SimplifyPolygon (
polygon As CvContourPolygon
) As CvContourPolygon
public:
static CvContourPolygon^ SimplifyPolygon(
CvContourPolygon^ polygon
)
static member SimplifyPolygon :
polygon : CvContourPolygon -> CvContourPolygon
Parameters
- polygon
- Type: OpenCvSharp.BlobCvContourPolygon
Contour (polygon type).
Return Value
Type:
CvContourPolygonA simplify version of the original polygon.
See Also