ShapeDistanceExtractorComputeDistance Method (Point, Point) |
http://www.emgu.com
Compute the shape distance between two shapes defined by its contours.
Namespace:
Emgu.CV.Shape
Assembly:
Emgu.CV.World (in Emgu.CV.World.dll) Version: 4.1.0.3408 (4.1.0.3408)
Syntaxpublic float ComputeDistance(
Point[] contour1,
Point[] contour2
)
Public Function ComputeDistance (
contour1 As Point(),
contour2 As Point()
) As Single
public:
float ComputeDistance(
array<Point>^ contour1,
array<Point>^ contour2
)
member ComputeDistance :
contour1 : Point[] *
contour2 : Point[] -> float32
Parameters
- contour1
- Type: System.DrawingPoint
Contour defining first shape - contour2
- Type: System.DrawingPoint
Contour defining second shape
Return Value
Type:
SingleThe shape distance between two shapes defined by its contours.
See Also