Top  Previous  Next

Menu:   Measure > Parameters  
Script:   SelectParam ("Diameters")  

Select this parameter to calculate a set of diameters for each object. The diameters are defined as line segments connecting opposite boundary points and passing through the Centroid
. A set of diameters is obtained from a family of such lines constructed at evenly spaced angles. The step between consecutive angles is defined by the Angle step option in Measurements Preferences

receives the array of the object's diameters in calibrated units. To access a specific element of the array in the script, use the following syntax:

x= getParamValue("Diameters", i)

Refer to ImageWarp Language Reference for more details.