| MatConvexHull Method |
Computes convex hull for a set of 2D points.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 1.0.0
Syntax public Mat ConvexHull(
bool clockwise = false,
bool returnPoints = true
)
Public Function ConvexHull (
Optional clockwise As Boolean = false,
Optional returnPoints As Boolean = true
) As Mat
public:
Mat^ ConvexHull(
bool clockwise = false,
bool returnPoints = true
)
member ConvexHull :
?clockwise : bool *
?returnPoints : bool
(* Defaults:
let _clockwise = defaultArg clockwise false
let _returnPoints = defaultArg returnPoints true
*)
-> Mat
Parameters
- clockwise (Optional)
- Type: SystemBoolean
If true, the output convex hull will be oriented clockwise,
otherwise it will be oriented counter-clockwise. Here, the usual screen coordinate
system is assumed - the origin is at the top-left corner, x axis is oriented to the right,
and y axis is oriented downwards. - returnPoints (Optional)
- Type: SystemBoolean
[Missing <param name="returnPoints"/> documentation for "M:OpenCvSharp.Mat.ConvexHull(System.Boolean,System.Boolean)"]
Return Value
Type:
MatThe output convex hull. It is either a vector of points that form the
hull (must have the same type as the input points), or a vector of 0-based point
indices of the hull points in the original array (since the set of convex hull
points is a subset of the original point set).
See Also