Click or drag to resize

RegionsOperatorsmRgnPerimeter2 Method

Pixel length of the outline.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function mRgnPerimeter2 ( 
	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 pixel-based measurement. Is is the length of boundary pixels for the blob of pixels under or interior to the region boundary. Diagonal pixel transitions are given a distance of the diagonal size of one pixel (e.g., square root of 2 if no spatial calibration is in effect). Horizontal or vertical runs of boundary pixels contribute one-less than the number of pixels in the run (e.g., the mRgnPerimeter2 value of an 8 by 8 block of pixels is 28, or 7 from each side). As a measure of region perimeter it is generally less accurate than the mRgnPerimeter measurement, which is the length of the boundary polygon.
See Also