| CvBlobLibContourPolygonCircularity Method |
Calculates the circularity of a polygon (compactness measure).
Namespace:
OpenCvSharp.Blob
Assembly:
OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0
Syntax public static double ContourPolygonCircularity(
CvContourPolygon polygon
)
Public Shared Function ContourPolygonCircularity (
polygon As CvContourPolygon
) As Double
public:
static double ContourPolygonCircularity(
CvContourPolygon^ polygon
)
static member ContourPolygonCircularity :
polygon : CvContourPolygon -> float
Parameters
- polygon
- Type: OpenCvSharp.BlobCvContourPolygon
Contour (polygon type).
Return Value
Type:
DoubleCircularity: a non-negative value, where 0 correspond with a circumference.
See Also