ShapeDistanceExtractorComputeDistance Method |
http://www.emgu.com
Compute the shape distance between two shapes defined by its contours.
Namespace: Emgu.CV.ShapeAssembly: Emgu.CV.Shape (in Emgu.CV.Shape.dll) Version: 3.0.0.2161 (3.0.0.2161)
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