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.0 (1.0.0.0)
Syntax
Parameters
- polygon
- Type: OpenCvSharp.BlobCvContourPolygon
Contour (polygon type).
Return Value
Type: CvContourPolygonA simplify version of the original polygon.
See Also