Cv2MatchShapes Method (IEnumerablePoint, IEnumerablePoint, ShapeMatchModes, Double)
|
matches two contours using one of the available algorithms
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic static double MatchShapes(
IEnumerable<Point> contour1,
IEnumerable<Point> contour2,
ShapeMatchModes method,
double parameter = 0
)
Public Shared Function MatchShapes (
contour1 As IEnumerable(Of Point),
contour2 As IEnumerable(Of Point),
method As ShapeMatchModes,
Optional parameter As Double = 0
) As Double
public:
static double MatchShapes(
IEnumerable<Point>^ contour1,
IEnumerable<Point>^ contour2,
ShapeMatchModes method,
double parameter = 0
)
static member MatchShapes :
contour1 : IEnumerable<Point> *
contour2 : IEnumerable<Point> *
method : ShapeMatchModes *
?parameter : float
(* Defaults:
let _parameter = defaultArg parameter 0
*)
-> float
OpenCvSharp.Cv2.MatchShapes = function(contour1, contour2, method, parameter);
Parameters
- contour1
- Type: System.Collections.GenericIEnumerablePoint
- contour2
- Type: System.Collections.GenericIEnumerablePoint
- method
- Type: OpenCvSharpShapeMatchModes
- parameter (Optional)
- Type: SystemDouble
Return Value
Type:
Double
See Also