private cvMatchShapes ( IntPtr object1, IntPtr object2, CvEnum method, double parameter ) : double | ||
object1 | IntPtr | |
object2 | IntPtr | |
method | CvEnum | |
parameter | double | |
return | double |
public static extern double cvMatchShapes(
IntPtr object1,
IntPtr object2,
CvEnum.CONTOURS_MATCH_TYPE method,
double parameter);
/// <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)); }