Click or drag to resize

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
)

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