Click or drag to resize

RegionsOperatorsmRgnRoundness Method

A measure of roundness (perimeter^2)/(4*pi*area).

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function mRgnRoundness ( 
	regions As McRegions
) As McMeasure

Parameters

regions
Type: MediaCy.IQL.FeaturesMcRegions

Return Value

Type: McMeasure

Usage Note

In Visual Basic and C#, you can call this method as an instance method on any object of type McRegions. When you use instance method syntax to call this method, omit the first parameter. For more information, see Extension Methods (Visual Basic) or Extension Methods (C# Programming Guide).
Remarks
This is a boundary geometry based measurement, so it is independent of pixel counts and is accurate for sub-pixel locations of region boundaries. The measurement is valid only for region boundary polygons that do not cross themselves (no "figure-8's"). The minimum value of mRgnRoundness is 1.0 and will be seen only for circular boundaries.
See Also