Calculates the circularity of a polygon (compactness measure).
Namespace: OpenCvSharp.Blob
Assembly: OpenCvSharp.Blob (in OpenCvSharp.Blob.dll) Version: 1.0.0.0 (1.0.0.0)
Syntax
Parameters
- polygon
- Type: OpenCvSharp.BlobCvContourPolygon
Contour (polygon type).
Return Value
Type: DoubleCircularity: a non-negative value, where 0 correspond with a circumference.
See Also