http://www.emgu.com
Calculates the value of the matching measure for two contour trees. The similarity measure is calculated level by level from the binary tree roots. If at the certain level difference between contours becomes less than threshold, the reconstruction process is interrupted and the current difference is returned

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

Syntax

C#
public static double cvMatchContourTrees(
	IntPtr tree1,
	IntPtr tree2,
	MATCH_CONTOUR_TREE_METHOD method,
	double threshold
)
Visual Basic
Public Shared Function cvMatchContourTrees ( 
	tree1 As IntPtr,
	tree2 As IntPtr,
	method As MATCH_CONTOUR_TREE_METHOD,
	threshold As Double
) As Double
Visual C++
public:
static double cvMatchContourTrees(
	IntPtr tree1, 
	IntPtr tree2, 
	MATCH_CONTOUR_TREE_METHOD method, 
	double threshold
)
F#
static member cvMatchContourTrees : 
        tree1 : IntPtr * 
        tree2 : IntPtr * 
        method : MATCH_CONTOUR_TREE_METHOD * 
        threshold : float -> float 

Parameters

tree1
Type: System..::..IntPtr
First contour tree
tree2
Type: System..::..IntPtr
Second contour tree
method
Type: Emgu.CV.CvEnum..::..MATCH_CONTOUR_TREE_METHOD
Similarity measure, only CV_CONTOUR_TREES_MATCH_I1 is supported
threshold
Type: System..::..Double
Similarity threshold

Return Value

Type: Double
The value of the matching measure for two contour trees

See Also