Mat.MinEnclosingCircle Method
|
Finds the minimum area circle enclosing a 2D point set.
The input is 2D point set, represented by CV_32SC2 or CV_32FC2 matrix.
Namespace:
OpenCvSharp
Assembly:
OpenCvSharp (in OpenCvSharp.dll) Version: 3.4.1.20180605-33-CaRLSharp
Syntaxpublic void MinEnclosingCircle(
out Point2f center,
out float radius
)
Public Sub MinEnclosingCircle (
<OutAttribute> ByRef center As Point2f,
<OutAttribute> ByRef radius As Single
)
public:
void MinEnclosingCircle(
[OutAttribute] Point2f% center,
[OutAttribute] float% radius
)
member MinEnclosingCircle :
center : Point2f byref *
radius : float32 byref -> unit
function MinEnclosingCircle(center, radius);
Parameters
- center
- Type: OpenCvSharp.Point2f
The output center of the circle - radius
- Type: System.Single
The output radius of the circle
See Also