http://www.emgu.com
Compares two shapes. The 3 implemented methods all use Hu moments

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

Syntax

C#
public static double cvMatchShapes(
	IntPtr object1,
	IntPtr object2,
	CONTOURS_MATCH_TYPE method,
	double parameter
)
Visual Basic
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
)
F#
static member cvMatchShapes : 
        object1 : IntPtr * 
        object2 : IntPtr * 
        method : CONTOURS_MATCH_TYPE * 
        parameter : float -> float 

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

Type: Double
The result of the comparison

See Also