Click or drag to resize

RegionsOperatorsmRgnMassCentroidY Method

Intensity weighted centroid Y-position.

Namespace:  MediaCy.IQL.Operators
Assembly:  MediaCy.IQL.Operators (in MediaCy.IQL.Operators.dll) Version: 3.1.0.0
Syntax
VB
<ExtensionAttribute>
Public Shared Function mRgnMassCentroidY ( 
	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
Density images (dark regions) must have an intensity calibration. This is a pixel-based measurement. So for regions created by the McThreshold.Execute method or McFeatures.SetFromMask method (features of Type mcftScanList), holes in the blob are significant.
See Also