| Cv2MatchShapes Method (InputArray, InputArray, ShapeMatchModes, Double) |
Compares two shapes.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public static double MatchShapes(
InputArray contour1,
InputArray contour2,
ShapeMatchModes method,
double parameter = 0
)
Public Shared Function MatchShapes (
contour1 As InputArray,
contour2 As InputArray,
method As ShapeMatchModes,
Optional parameter As Double = 0
) As Double
public:
static double MatchShapes(
InputArray^ contour1,
InputArray^ contour2,
ShapeMatchModes method,
double parameter = 0
)
static member MatchShapes :
contour1 : InputArray *
contour2 : InputArray *
method : ShapeMatchModes *
?parameter : float
(* Defaults:
let _parameter = defaultArg parameter 0
*)
-> float
Parameters
- contour1
- Type: OpenCvSharpInputArray
First contour or grayscale image. - contour2
- Type: OpenCvSharpInputArray
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(OpenCvSharp.InputArray,OpenCvSharp.InputArray,OpenCvSharp.ShapeMatchModes,System.Double)"]
See Also