Description
The X,Y coordinates of the centroid of the region boundary.
-
Property type
-
A McMeasure object.
-
Syntax
-
object.maRgnCentroidXY
The maRgnCentroidXY Property syntax has these parts: |
| object | An expression evaluating to an object of type McRegions. | Remarks
The spatially calibrated coordinates of each region boundary centroid is returned as a length-2 array, X followed by Y. The Value for N regions is exposed as a 2-dimensional array of 2 by N.
This is a pixel-based measurement. So for regions created by the McThreshold.Execute method or McFeatures.SetFromMask method, holes in the blob are significant.
|