http://www.emgu.com
Approximates one or more curves and returns the approximation result[s]. In case of multiple curves approximation the resultant tree will have the same structure as the input one (1:1 correspondence)

Namespace: Emgu.CV
Assembly: Emgu.CV (in Emgu.CV.dll) Version: 2.4.10.1935 (2.4.10.1935)

Syntax

C#
public Seq<T> ApproxPoly(
	double accuracy,
	int maxLevel,
	MemStorage storage
)
Visual Basic
Public Function ApproxPoly ( 
	accuracy As Double,
	maxLevel As Integer,
	storage As MemStorage
) As Seq(Of T)
Visual C++
public:
Seq<T>^ ApproxPoly(
	double accuracy, 
	int maxLevel, 
	MemStorage^ storage
)
F#
member ApproxPoly : 
        accuracy : float * 
        maxLevel : int * 
        storage : MemStorage -> Seq<'T> 

Parameters

accuracy
Type: System..::..Double
The desired approximation accuracy
maxLevel
Type: System..::..Int32
Maximal level for sequence approximation. If 0, only sequence is arrpoximated. If 1, the sequence and all sequence after it on the same level are approximated. If 2, all sequence after and all sequence one level below the contours are approximated, etc. If the value is negative, the function does not approximate the sequence following after contour but draws child sequences of sequence up to abs(maxLevel)-1 level
storage
Type: Emgu.CV..::..MemStorage
The storage used by the resulting sequence. If null, the storage of this sequence is used.

Return Value

Type: Seq<(Of <(<'T>)>)>
The approximated contour

See Also