Emgu CV Library Documentation
cvMatchContourTrees Method (tree1, tree2, method, threshold)
NamespacesEmgu.CVCvInvokecvMatchContourTrees(IntPtr, IntPtr, MATCH_CONTOUR_TREE_METHOD, Double)

www.emgu.com/wiki
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
Declaration Syntax
C#Visual BasicVisual C++
public static double cvMatchContourTrees(
	IntPtr tree1,
	IntPtr tree2,
	MATCH_CONTOUR_TREE_METHOD method,
	double threshold
)
Public Shared Function cvMatchContourTrees ( _
	tree1 As IntPtr, _
	tree2 As IntPtr, _
	method As MATCH_CONTOUR_TREE_METHOD, _
	threshold As Double _
) As Double
public:
static double cvMatchContourTrees(
	IntPtr tree1, 
	IntPtr tree2, 
	MATCH_CONTOUR_TREE_METHOD method, 
	double threshold
)
Parameters
tree1 (IntPtr)
First contour tree
tree2 (IntPtr)
Second contour tree
method (MATCH_CONTOUR_TREE_METHOD)
Similarity measure, only CV_CONTOUR_TREES_MATCH_I1 is supported
threshold (Double)
Similarity threshold
Return Value
The value of the matching measure for two contour trees

Assembly: Emgu.CV (Module: Emgu.CV) Version: 1.5.0.0 (1.5.0.0)