CvApproxPoly Method (CvSeqCvPoint, Int32, CvMemStorage, ApproxPolyMethod, Double) OpenCvSharp Class Library
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 static CvSeq<CvPoint> ApproxPoly(
	CvSeq<CvPoint> srcSeq,
	int headerSize,
	CvMemStorage storage,
	ApproxPolyMethod method,
	double parameter
)

Parameters

srcSeq
Type: OpenCvSharpCvSeqCvPoint
Sequence of array of points.
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.Cv.ApproxPoly(OpenCvSharp.CvSeq{OpenCvSharp.CvPoint},System.Int32,OpenCvSharp.CvMemStorage,OpenCvSharp.ApproxPolyMethod,System.Double)"]

See Also

Reference