Approximates polygonal curve(s) with desired precision.
Namespace: OpenCvSharp
Assembly: OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
public CvSeq<CvPoint> ApproxPoly( int headerSize, CvMemStorage storage, ApproxPolyMethod method, double parameter )
Parameters
- headerSize
- Type: SystemInt32
Header size of approximated curve[s]. - storage
- Type: OpenCvSharpCvMemStorage
Container for approximated contours. If it is null, the input sequences' storage is used. - method
- Type: OpenCvSharpApproxPolyMethod
Approximation method; only ApproxPolyMethod.DP is supported, that corresponds to Douglas-Peucker algorithm. - parameter
- Type: SystemDouble
Method-specific parameter; in case of CV_POLY_APPROX_DP it is a desired approximation accuracy.
Return Value
Type: CvSeqCvPoint[Missing <returns> documentation for "M:OpenCvSharp.CvSeq`1.ApproxPoly(System.Int32,OpenCvSharp.CvMemStorage,OpenCvSharp.ApproxPolyMethod,System.Double)"]
See Also