CCentroid:Y
The Y method returns the centroid y position obtained by the Calc method.
nY = CCentroid:Y() |
nY is the centroid pixel coordinate for the y axis, measured in pixel coordinates.
|
-- create a new CCentroid object |
|
-- calculate the centroid near pixel coordinate 100,200 |
|
-- result: Y = 199.217 |
CCentroid, X, Calc, Image Coordinate System, Subpixel Coordinate Definition
Mira Pro x64 Script User's Guide, v.8.73 Copyright Ⓒ 2024
Mirametrics, Inc. All Rights Reserved.