Emgu.CV.CvInvoke.cvMatchShapes C# (CSharp) Метод

cvMatchShapes() приватный Метод

private cvMatchShapes ( IntPtr object1, IntPtr object2, CvEnum method, double parameter ) : double
object1 IntPtr
object2 IntPtr
method CvEnum
parameter double
Результат double
        public static extern double cvMatchShapes(
         IntPtr object1,
         IntPtr object2,
         CvEnum.CONTOURS_MATCH_TYPE method,
         double parameter);

Usage Example

Пример #1
0
 /// <summary>
 /// Compare the shape of the current contour with <paramref name="objectToMatch"/>
 /// </summary>
 /// <param name="objectToMatch">The object to match</param>
 /// <param name="method">contour matching method</param>
 /// <returns>The degree of the similarity</returns>
 public double MatchShapes(Seq <T> objectToMatch, CvEnum.CONTOURS_MATCH_TYPE method)
 {
     return(CvInvoke.cvMatchShapes(Ptr, objectToMatch.Ptr, method, 0.0));
 }
CvInvoke