http://www.emgu.com
Creates binary tree representation for the input contour and returns the pointer to its root.

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

Syntax

C#
public static IntPtr cvCreateContourTree(
	IntPtr contour,
	IntPtr storage,
	double threshold
)
Visual Basic
Public Shared Function cvCreateContourTree ( 
	contour As IntPtr,
	storage As IntPtr,
	threshold As Double
) As IntPtr
Visual C++
public:
static IntPtr cvCreateContourTree(
	IntPtr contour, 
	IntPtr storage, 
	double threshold
)
F#
static member cvCreateContourTree : 
        contour : IntPtr * 
        storage : IntPtr * 
        threshold : float -> IntPtr 

Parameters

contour
Type: System..::..IntPtr
Input contour
storage
Type: System..::..IntPtr
Container for output tree
threshold
Type: System..::..Double
If the parameter threshold is less than or equal to 0, the function creates full binary tree representation. If the threshold is greater than 0, the function creates representation with the precision threshold: if the vertices with the interceptive area of its base line are less than threshold, the tree should not be built any further

Return Value

Type: IntPtr
The binary tree representation for the input contour

See Also