Compares two shapes. The 3 implemented methods all use Hu moments
Namespace: Emgu.CVAssembly: Emgu.CV (in Emgu.CV.dll) Version: 2.2.1.1150 (2.2.1.1150)
Syntax
C# | Visual Basic | Visual C++ |
public static double cvMatchShapes( IntPtr object1, IntPtr object2, CONTOURS_MATCH_TYPE method, double parameter )
Public Shared Function cvMatchShapes ( _ object1 As IntPtr, _ object2 As IntPtr, _ method As CONTOURS_MATCH_TYPE, _ parameter As Double _ ) As Double
public: static double cvMatchShapes( IntPtr object1, IntPtr object2, CONTOURS_MATCH_TYPE method, double parameter )
Parameters
- object1
- IntPtr
First contour or grayscale image
- object2
- IntPtr
Second contour or grayscale image
- method
- CONTOURS_MATCH_TYPE
Comparison method
- parameter
- Double
Method-specific parameter (is not used now)