Compares two shapes. The 3 implemented methods all use Hu moments

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

Syntax

C#
public static double cvMatchShapes(
	IntPtr object1,
	IntPtr object2,
	CONTOURS_MATCH_TYPE method,
	double parameter
)
Visual Basic (Declaration)
Public Shared Function cvMatchShapes ( _
	object1 As IntPtr, _
	object2 As IntPtr, _
	method As CONTOURS_MATCH_TYPE, _
	parameter As Double _
) As Double
Visual C++
public:
static double cvMatchShapes(
	IntPtr object1, 
	IntPtr object2, 
	CONTOURS_MATCH_TYPE method, 
	double parameter
)

Parameters

object1
Type: System..::.IntPtr
First contour or grayscale image
object2
Type: System..::.IntPtr
Second contour or grayscale image
method
Type: Emgu.CV.CvEnum..::.CONTOURS_MATCH_TYPE
Comparison method
parameter
Type: System..::.Double
Method-specific parameter (is not used now)

Return Value

The result of the comparison

See Also