| ShapeDistanceExtractorComputeDistance Method |
Compute the shape distance between two shapes defined by its contours.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public virtual float ComputeDistance(
InputArray contour1,
InputArray contour2
)
Public Overridable Function ComputeDistance (
contour1 As InputArray,
contour2 As InputArray
) As Single
public:
virtual float ComputeDistance(
InputArray^ contour1,
InputArray^ contour2
)
abstract ComputeDistance :
contour1 : InputArray *
contour2 : InputArray -> float32
override ComputeDistance :
contour1 : InputArray *
contour2 : InputArray -> float32
Parameters
- contour1
- Type: OpenCvSharpInputArray
Contour defining first shape. - contour2
- Type: OpenCvSharpInputArray
Contour defining second shape.
Return Value
Type:
Single[Missing <returns> documentation for "M:OpenCvSharp.ShapeDistanceExtractor.ComputeDistance(OpenCvSharp.InputArray,OpenCvSharp.InputArray)"]
See Also