Click or drag to resize
CvInvokeMatchShapes Method
http://www.emgu.com
Compares two shapes. The 3 implemented methods all use Hu moments

Namespace: Emgu.CV
Assembly: Emgu.CV.World (in Emgu.CV.World.dll) Version: 3.1.0.2282 (3.1.0.2282)
Syntax
public static double MatchShapes(
	IInputArray contour1,
	IInputArray contour2,
	ContoursMatchType method,
	double parameter = 0
)

Parameters

contour1
Type: Emgu.CVIInputArray
First contour or grayscale image
contour2
Type: Emgu.CVIInputArray
Second contour or grayscale image
method
Type: Emgu.CV.CvEnumContoursMatchType
Comparison method
parameter (Optional)
Type: SystemDouble
Method-specific parameter (is not used now)

Return Value

Type: Double
The result of the comparison
See Also