| Cv2MatchShapes Method (IEnumerablePoint, IEnumerablePoint, ShapeMatchModes, Double) |
Compares two shapes.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public 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
Parameters
- contour1
- Type: System.Collections.GenericIEnumerablePoint
First contour or grayscale image. - contour2
- Type: System.Collections.GenericIEnumerablePoint
Second contour or grayscale image. - method
- Type: OpenCvSharpShapeMatchModes
Comparison method - parameter (Optional)
- Type: SystemDouble
Method-specific parameter (not supported now)
Return Value
Type:
Double[Missing <returns> documentation for "M:OpenCvSharp.Cv2.MatchShapes(System.Collections.Generic.IEnumerable{OpenCvSharp.Point},System.Collections.Generic.IEnumerable{OpenCvSharp.Point},OpenCvSharp.ShapeMatchModes,System.Double)"]
See Also