ContourX, ContourY  
Top  Previous  Next


Menu:   Measure > Parameters  
Script:   SelectParam ("CountourX", "ContourY")  

Select these parameters to retrieve the coordinates of objects' outer boundaries in non-calibrated units. The outlines of objects are built by tracing them clockwise starting from the top-left pixel. The step at which the boundaries are traced is defined by the Contour step option in Measurements Preferences


ContourX
receives the array of horizontal coordinates of the pixels along the object's boundary.
ContourY receives the array of vertical coordinates of the pixels along the object's boundary.

To access a specific element of the contour array in the script, use the following syntax:

x= getParamValue("ContourX",i)
y= getParamValue("ContourY",i)

Refer to ImageWarp Language Reference for more details.