renameParam
|
|
Oldname
|
|
A string specifying a measurement parameter to be renamed.
|
|
Newname
|
|
A strings specifying the new name for the parameter.
|
|
ERR_OK
|
|
The flag set if successful.
|
|
ERR_FAILED
|
|
The flag set if failed.
|
|
This set of statements binarizes a sample image, selects a set of measurements parameters, renames the "AxisMajor" parameter to "Dimension" and performs automatic blob measurements.
|
|
setCurDir("samples")
|
loadIm(1,"sample4.IWD")
|
threshGauss(1,2,0,1,0)
|
separate(2,2,16)
|
resetParam()
|
renameParam ("AxisMajor","Dimension")
|
selectParam ("Area","Circularity", "Dimension")
|
measObjects (2)
|
|