Click or drag to resize

RegionsOperatorsmRgnMaxDiameter Method

Length of longest line joining two points of region's outline and passing through the pixel centroid.

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

Parameters

regions
Type: MediaCy.IQL.FeaturesMcRegions

Return Value

Type: McMeasureAngles

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 measurement is based on the centers of border pixels under the region feature's outline. Thus, the result is not affected by the OptionFlags mcofOutlinePixelTiles bit or any other sub-pixel placement of feature outline vertices. The measured diameter passes through the pixel centroid (see mRgnPixelCentroidX and mRgnPixelCentroidY), which is sensitive to holes in the blob for features of Type mcftScanList. The diameter is sampled at McMeasureAngles.NumAngles equally spaced angles.
See Also